Linux command
rustup-toolchain 命令
文本
Copy it and replace filenames, paths, or keywords as needed.
命令示例
List toolchains
rustup toolchain list
Install toolchain
rustup toolchain install stable
Uninstall toolchain
rustup toolchain uninstall nightly
Link custom toolchain
rustup toolchain link [name] [path]
说明
rustup toolchain manages Rust toolchains. Install, remove, and list toolchains. Supports stable, beta, nightly, and specific versions. Can link custom-built toolchains.
参数
- list
- List installed toolchains.
- install _name_
- Install toolchain.
- uninstall _name_
- Remove toolchain.
- link _name_ _path_
- Link custom toolchain.
- --profile _name_
- Installation profile.
FAQ
What is the rustup-toolchain command used for?
rustup toolchain manages Rust toolchains. Install, remove, and list toolchains. Supports stable, beta, nightly, and specific versions. Can link custom-built toolchains.
How do I run a basic rustup-toolchain example?
Run `rustup toolchain list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in rustup-toolchain?
List installed toolchains.