There are many ways to install Rust on your system. For the moment the official way to install Rust is using Rustup.
馃暜 Rustup installs The Rust Programming Language from the official release channels, enabling you to easily switch between stable, beta, and nightly compilers and keep them updated. It makes cross-compiling simpler with binary builds of the standard library for common platforms.
馃暜 Rustup installs rustc
, cargo
, rustup
and other standard tools to Cargo's bin
directory. On Unix it is located at $HOME/.cargo/bin
and on Windows at %USERPROFILE%\.cargo\bin
. This is the same directory that cargo install
will install Rust programs and Cargo plugins.
馃挕 More information can be found on the Github page of Rustup project.
After installing Rust you can check the current version by typing rustc --version
orrustc -V
on your terminal to verify the success of the installation.