# Installing Actix Web
Before writing your Actix Web application, you must install the Rust toolchain. Rust provides a tool called rustup which manages versions and associated tools (like cargo, the package manager).
##Installing Rust
If you do not have Rust installed, the easiest way to install it is via rustup. On macOS, Linux, or Unix-like environments, run:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shOn Windows, download the rustup installer from the official Rust website.
##Adding Actix Web to your Project
Once Rust is installed, you can create a new project:
cargo new actix_tutorial
cd actix_tutorialThen, add Actix Web as a dependency. In your Cargo.toml, add:
[dependencies]
actix-web = "4"You are now ready to start coding. Make sure your Rust compiler is reasonably up-to-date (1.80+ recommended) as Actix Web frequently benefits from standard library and language improvements.