Section: Toolchains

Install nightly

bash
bash
rustup toolchain install nightly
Explanation

Nightly is commonly used for unstable features or tooling experiments.

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 beta
Add the beta channel toolchain.
OpenIn sheetbashsame section
Set nightly as default
Change the global default 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 sheettoml2 tag match