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

rustup default — Set the default Rust toolchain. More information: <https://rust-lang.github.io/rustup/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandrustclitoolchainsetdefaultrustup default

Problem

How to use the rustup default command: Set the default Rust toolchain. More information: <https://rust-lang.github.io/rustup/>.

Solution

rustup default — Set the default Rust toolchain. More information: <https://rust-lang.github.io/rustup/>.

Switch the default Rust toolchain (see rustup help toolchain for more information):
rustup default {{toolchain}}

Code Snippets

Switch the default Rust toolchain (see `rustup help toolchain` for more information)

rustup default {{toolchain}}

Context

tldr-pages: common/rustup default

Revisions (0)

No revisions yet.