rustup-component

Manage Rust toolchain components

TLDR

List available components
$ rustup component list
Add component
$ rustup component add [component]
Add rust-src
$ rustup component add rust-src
Remove component
$ rustup component remove [component]

SYNOPSIS

rustup component command [options]

DESCRIPTION

rustup component manages Rust toolchain components. Components include rust-src, rustfmt, clippy, and others. Add components for additional development tools.

PARAMETERS

list

List components.
add component
Install component.
remove component
Uninstall component.
--toolchain name
Target toolchain.

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-toolchain(1)