rustup-toolchain

Manage installed Rust toolchains

TLDR

List toolchains
$ rustup toolchain list
Install toolchain
$ rustup toolchain install stable
Uninstall toolchain
$ rustup toolchain uninstall nightly
Link custom toolchain
$ rustup toolchain link [name] [path]

SYNOPSIS

rustup toolchain command [options]

DESCRIPTION

rustup toolchain manages Rust toolchains. Install, remove, and list toolchains. Supports stable, beta, nightly, and specific versions. Can link custom-built toolchains.

PARAMETERS

list

List installed toolchains.
install name
Install toolchain.
uninstall name
Remove toolchain.
link name path
Link custom toolchain.
--profile name
Installation profile.

INSTALL

sudo apt install rustup
sudo dnf install rustup
sudo pacman -S rustup
sudo zypper install rustup
brew install rustup
nix profile install nixpkgs#rustup

SEE ALSO

rustup(1), rustup-default(1)