LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rustup-component

Manage Rust toolchain components

TLDR

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

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
copy
sudo dnf install rustup
copy
sudo pacman -S rustup
copy
sudo zypper install rustup
copy
brew install rustup
copy
nix profile install nixpkgs#rustup
copy

SEE ALSO

Copied to clipboard
Kai