rustup-default
Set the default Rust toolchain
TLDR
Set default toolchain
$ rustup default stable
Set nightly as default$ rustup default nightly
Set specific version$ rustup default [1.70.0]
Show current default$ rustup default
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
rustup(1), rustup-toolchain(1), rustup-override(1)
