#rustup #toolchain-manager #cli #version #rust

app cargo-toolchain-manager

A CLI helper to install all stable (or custom) Rust versions via rustup

2 unstable releases

Uses new Rust 2024

new 0.2.0 Apr 22, 2025
0.1.1 Apr 20, 2025
0.1.0 Apr 20, 2025

#181 in Cargo plugins

Download history 256/week @ 2025-04-15

256 downloads per month

MIT license

17KB
120 lines

Cargo Toolchain Manager

cargo-toolchain-manager

๐Ÿ“ฆ A CLI utility to install all (or selected) Rust versions via rustup.

Useful for developers, CI/CD pipelines, and testing environments where multiple Rust versions are required.

๐Ÿš€ Features

  • โœ… Install all stable versions of Rust
  • ๐Ÿ”ข Filter versions using semver ranges
  • ๐Ÿงช --dry-run mode to preview without installing

๐Ÿ“ฆ Installation

cargo install cargo-toolchain-manager

# Or install from Git:
cargo install --git https://github.com/your-username/cargo-toolchain

๐Ÿ”ง Usage Examples

# Install all stable versions
cargo toolchain-manager

# Dry-run without installing
cargo toolchain-manager --dry-run

# Install versions in a specific semver range
cargo toolchain-manager --range ">=1.60.0, <1.70.0"

๐Ÿ“œ CLI Options

Option Description
--dry-run Only list versions that would be installed
--range Filter versions with a semver range

๐Ÿ” Requirements

  • Rustup
  • Rust installed

๐Ÿ“ƒ License

MIT

Dependencies

~9โ€“22MB
~298K SLoC