Section: Toolchains

Set nightly as default

bash
bash
rustup default nightly
Explanation

Applies outside directories that have overrides or rust-toolchain files.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Toolchains
List installed toolchains
Display toolchains available on the machine.
OpenIn sheetbashsame section
Install nightly
Add the nightly toolchain.
OpenIn sheetbashsame section
Install beta
Add the beta channel toolchain.
OpenIn sheetbashsame section
Pin a toolchain in one directory
Create a directory override for the current folder.
OpenIn sheetbashsame section
Remove a directory override
Stop forcing a local toolchain override.
OpenIn sheetbashsame section
Pin toolchain in version-controlled config
Check in a `rust-toolchain.toml` file.
OpenIn sheettoml1 tag match