rustup is the official command-line tool for installing, updating, and managing multiple Rust toolchains and components.
rustup is the official installer and version manager for Rust that lets you install, update, and switch between multiple Rust toolchains and components. It manages the compiler (rustc), package manager (cargo), and optional components like rust-docs or rustfmt across different versions.
rustup toolchain install 1.90 -c rust-docs
rustup default 1.90
rustup component add rustfmt
rustup is a tool that manages your Rust installation, similar to how a phone app store manages apps on your device. It lets you install the latest version, switch between older versions for specific projects, and add extra tools you need without breaking your current setup. This ensures you always have the right version of Rust for the job.