Add the nightly toolchain.
Section: Toolchains
Install nightly
bash
bash
rustup toolchain install nightlyExplanation
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
Pin a toolchain in one directory
Create a directory override for the current folder.
Pin toolchain in version-controlled config
Check in a `rust-toolchain.toml` file.