Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Install rustup¶
Linux and macOS¶
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -yRust tools (rustc, cargo, rustup, etc)
will be added to Cargo’s bin directory,
located at $HOME/.cargo/bin.
You can also run the following command to install rust.
:::bash
xinstall rustup -icWindows¶
Download rustup.exe and install it.
Download and install the Build Tools for Visual Studio 2019 . Select C++ tools during the installation.
Restart your computer.
Install stable/nightly Versions of Rust¶
rustup toolchain install stable rustup toolchain install beta rustup toolchain install nightly rustup default stable
Install rust-src¶
rustup component add rust-src
Install rustfmt¶
rustup component add rustfmt
Install Clippy¶
rustup component add clippy