LinuxCommandLibrary

rustup-component

Modify a toolchain's installed components.

TLDR

Add a component to a toolchain

$ rustup component add --toolchain [toolchain] [component]
copy


Remove a component from a toolchain
$ rustup component remove --toolchain [toolchain] [component]
copy


List installed and available components for a toolchain
$ rustup component list --toolchain [toolchain]
copy


List installed components for a toolchain
$ rustup component list --toolchain [toolchain] --installed
copy

Copied to clipboard