mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
606 B
Plaintext
27 lines
606 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 toolchain install {{toolchain}}`
|
|
|
|
- Uninstall a toolchain:
|
|
|
|
`rustup toolchain uninstall {{toolchain}}`
|
|
|
|
- List installed toolchains:
|
|
|
|
`rustup toolchain list`
|
|
|
|
- Create a custom toolchain by symlinking to a directory:
|
|
|
|
`rustup toolchain link {{custom_toolchain_name}} {{path/to/directory}}`
|