rustup Command Examples

Install, manage, and update Rust toolchains. Some subcommands, such as toolchain, target, update, etc. have their own usage documentation. More information: https://rust-lang.github.io/rustup.

rustup install nightly

rustup default nightly

rustup override set nightly

rustup update

rustup show

rustup run {{toolchain}} cargo build

rustup doc