Linux command
rustup-component 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
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]
说明
rustup component manages Rust toolchain components. Components include rust-src, rustfmt, clippy, and others. Add components for additional development tools.
参数
- list
- List components.
- add _component_
- Install component.
- remove _component_
- Uninstall component.
- --toolchain _name_
- Target toolchain.
FAQ
What is the rustup-component command used for?
rustup component manages Rust toolchain components. Components include rust-src, rustfmt, clippy, and others. Add components for additional development tools.
How do I run a basic rustup-component example?
Run `rustup component list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in rustup-component?
List components.