Display installed toolchains and the active default.
Section: Toolchain selection
Show active toolchain details
bash
bash
rustup showExplanation
A first step when builds behave differently than expected across machines or CI.
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 Toolchain selection
Pin a directory to one toolchain
Set a local override for the current project.
See which rustc binary is used
Show the actual executable path selected by rustup.
Run Cargo with a specific toolchain
Use a channel explicitly for one command.
List installed and available components
See whether rustfmt, clippy, or docs are installed.