mirror of https://github.com/CrimsonTome/tldr.git
22 lines
472 B
Markdown
22 lines
472 B
Markdown
|
# rustup toolchain
|
||
|
|
||
|
> Manage Rust toolchains.
|
||
|
> See `rustup help toolchain` for more information about toolchains.
|
||
|
> More information: <https://rust-lang.github.io/rustup>.
|
||
|
|
||
|
- Install or update a given toolchain:
|
||
|
|
||
|
`rustup install {{toolchain}}`
|
||
|
|
||
|
- Uninstall a toolchain:
|
||
|
|
||
|
`rustup uninstall {{toolchain}}`
|
||
|
|
||
|
- List installed toolchains:
|
||
|
|
||
|
`rustup list`
|
||
|
|
||
|
- Create a custom toolchain by symlinking to a directory:
|
||
|
|
||
|
`rustup link {{custom_toolchain_name}} {{path/to/directory}}`
|