HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rustup toolchain — Manage Rust toolchains. See `rustup help toolchain` for more information about toolchains. More info

Submitted by: @import:tldr-pages··
0
Viewed 0 times
rustup toolchaincommandrusttoolchainsclimanagerustupsee

Problem

How to use the rustup toolchain command: Manage Rust toolchains. See rustup help toolchain for more information about toolchains. More information: <https://rust-lang.github.io/rustup/>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/rustup toolchain

Revisions (0)

No revisions yet.