Rust CLI Troubleshooting: rustup, Toolchains, Components, and Targets/List installed and available components
See whether rustfmt, clippy, or docs are installed.
Section: Components and targets
List installed and available components
bash
bash
rustup component listExplanation
Useful when `cargo fmt` or `cargo clippy` fails because the component is missing.
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 Components and targets
List installed targets
Show available target triples already added locally.
Show active toolchain details
Display installed toolchains and the active default.