Getting started
Install Rust
You install Rust with rustup, the official version manager. On macOS or Linux a single command is enough. On Windows, download the installer from rustup.rs.
rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shrust
rustc --versioncargo --versionThree tools to remember. rustc is the compiler; you will rarely call it directly. cargo is the build tool, dependency manager and test runner, the equivalent of Maven or Gradle. rustup keeps everything up to date with rustup update.