LinuxCommandLibrary

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.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard