Stage 2.3: rustup
rustup
is Rust's toolchain manager. To see all available options of this tool, run
rustup --help
.
It's used for:
- updating Rust:
rustup update
- installing Rust tools like Clippy (a static analysis tool):
rustup component add clippy
- you can run it then withcargo clippy
- Open the official The book:
rustup doc --book
- Show active and installed tools:
rustup show
- Switching between profiles, e. g. stable and nightly version of Rust
rustup can be updated with rustup self update
, but it's also being updated
at the end of rustup update
.
Further information: