Package Manager
Cargo
Rust package manager.
- Install Command
- cargo install {package}
- Check Command
- cargo --version
- Homepage URL
- https://doc.rust-lang.org/cargo/
- Bootstrap Note
- cargo ships with the Rust toolchain - install Rust via rustup.
- Has Install Step
- For Platform
Cross-platform- Command
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Description
- Official rustup installer (macOS and Linux). Installs cargo, rustc, and rustup itself under $HOME/.cargo/bin.
- For Platform
Windows- Download URL
- https://rustup.rs/
- Description
- Download and run rustup-init.exe.
- For Platform
macOS- Command
- brew install rustup-init && rustup-init
- Description
- Homebrew-managed alternative to the official installer script.