LinuxCommandLibrary

rustup-default

Set the default Rust toolchain

TLDR

Set default toolchain

$ rustup default stable
copy
Set nightly as default
$ rustup default nightly
copy
Set specific version
$ rustup default [1.70.0]
copy
Show current default
$ rustup default
copy

SYNOPSIS

rustup default [toolchain]

DESCRIPTION

rustup default sets or shows the default Rust toolchain. The default toolchain is used when no override is active. Common choices are stable, beta, or nightly.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community