Installing Rust
Discover how to install Rust using the rustup tool, manage multiple Rust versions, and prepare your environment for compiling Rust into WebAssembly. This lesson guides you through setup steps for Linux, macOS, and Windows, including switching between stable and nightly Rust compilers.
We'll cover the following...
Rust is a compiled language, and its compiler is called the Rust compiler (rustc). Rust also has its own package manager, called Cargo. Cargo is similar to npm for Node.js. Cargo downloads package dependencies and builds, compiles, packs, and uploads the artifacts into crates (Rust’s version of packages). The Rust language provides an easy way to install and manage Rust via rustup. rustup helps to install, update, and remove rustc, Cargo, and rustup itself. It makes it easy to install and manage various versions of Rust.
Let’s install ...