Update installed toolchains and rustup itself.
Section: Bootstrap and versions
Update Rust toolchains
bash
bash
rustup updateExplanation
Updates channels like stable, beta, and nightly when installed.
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 Bootstrap and versions
Run Cargo with a specific toolchain
Use toolchain shorthand for one command.
Show active rustup state
Display installed toolchains, defaults, and active host.