Rustup is the official Rust toolchain manager, allowing you to easily install and manage multiple Rust versions. Here's a quick guide to get started:
🔧 Installation
- Download the installer from https://rustup.rs
- Run the script and follow the prompts
- Verify installation with
rustup --version
⚙️ Configuration
- Set default toolchain:
rustup default stable
- Install nightly:
rustup install nightly
- Manage components:
rustup component add rustfmt
📦 Toolchain Management
- List installed tools:
rustup toolchain list
- Update Rust:
rustup update
- Switch versions:
rustup override set 1.70.0
For detailed documentation, visit our Rustup Installation Guide 📚