2023-09-02 15:12:22 +02:00
|
|
|
# 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:
|
|
|
|
|
2025-05-04 04:42:32 +02:00
|
|
|
`rustup toolchain install {{toolchain}}`
|
2023-09-02 15:12:22 +02:00
|
|
|
|
|
|
|
- Uninstall a toolchain:
|
|
|
|
|
2025-05-04 04:42:32 +02:00
|
|
|
`rustup toolchain uninstall {{toolchain}}`
|
2023-09-02 15:12:22 +02:00
|
|
|
|
|
|
|
- List installed toolchains:
|
|
|
|
|
2025-05-04 04:42:32 +02:00
|
|
|
`rustup toolchain list`
|
2023-09-02 15:12:22 +02:00
|
|
|
|
|
|
|
- Create a custom toolchain by symlinking to a directory:
|
|
|
|
|
2025-05-04 04:42:32 +02:00
|
|
|
`rustup toolchain link {{custom_toolchain_name}} {{path/to/directory}}`
|