LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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 (via `rustup override` or `rust-toolchain.toml`). Common choices are stable, beta, or nightly. If the specified toolchain is not installed, rustup will download and install it automatically.

PARAMETERS

toolchain

Toolchain name: stable, beta, nightly, or a specific version like 1.70.0. Can include a target triple (e.g., `nightly-x86_64-unknown-linux-gnu`).

INSTALL

sudo apt install rustup
copy
sudo dnf install rustup
copy
sudo pacman -S rustup
copy
sudo zypper install rustup
copy
brew install rustup
copy
nix profile install nixpkgs#rustup
copy

CAVEATS

Project-level overrides (from `rust-toolchain.toml` or `rustup override`) take precedence over the default. Changing the default does not affect projects that have overrides set.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid