English | ç®€ä½“ä¸æ–‡
Documentation: English · ç®€ä½“ä¸æ–‡
vmr lets you keep multiple versions of your development tools on one machine and switch to the one you need at any time: Go, Node.js, Python, JDK, Rust, Lua… Install, switch and uninstall with a single command — no admin privileges, no pollution of system directories.
- Multiple versions coexist: many versions of the same SDK live side by side; switching just repoints a symlink.
- Project-level pinning: entering a project directory automatically switches to the version the project needs, and leaving restores the previous one.
- Session isolation: run a command or open a subshell with a temporary version; everything is restored when it exits.
- Migrate to a new machine in one command: export the list of installed versions and install them all in bulk on the new machine.
- Install any conda-forge package: pixi's installation capability is built in — no preinstalled conda/miniconda required.
- Multi-threaded downloads: checksum verification, reverse proxy, local proxy and
HTTP(S)_PROXYsupport.
Linux / macOS / Windows are supported, with prebuilt packages for both x86_64 and aarch64.
The recording is generated from vmr/docs/demo.tape with VHS.
brew install gvcgo/tap/vmrThe formula ships the prebuilt binary for your platform, so nothing is compiled locally. Homebrew only provides the vmr executable — SDK versions are still installed by vmr itself under ~/.vmr.
MacPorts has no Homebrew-style tap mechanism, so vmr publishes a small port source. Add it once and install:
sudo mkdir -p /opt/local/var/macports/sources/github.com/gvcgo
sudo git clone https://github.com/gvcgo/vmr-macports \
/opt/local/var/macports/sources/github.com/gvcgo/vmr-macports
echo "file:///opt/local/var/macports/sources/github.com/gvcgo/vmr-macports [nosync]" \
| sudo tee -a /opt/local/etc/macports/sources.conf
sudo portindex /opt/local/var/macports/sources/github.com/gvcgo/vmr-macports
sudo port install vmrThe port installs the same prebuilt binary as Homebrew and the release archives, so nothing is compiled locally. Replace /opt/local with your MacPorts prefix if it differs. To update later, pull the source, regenerate the index, and upgrade:
sudo git -C /opt/local/var/macports/sources/github.com/gvcgo/vmr-macports pull
sudo portindex /opt/local/var/macports/sources/github.com/gvcgo/vmr-macports
sudo port upgrade vmrSee vmr-macports for details.
scoop bucket add gvcgo https://github.com/gvcgo/scoop-bucket
scoop install gvcgo/vmrcurl -fsSL https://gvcgo.github.io/vmr-apt/vmr.gpg \
| sudo gpg --dearmor -o /usr/share/keyrings/vmr.gpg
echo "deb [signed-by=/usr/share/keyrings/vmr.gpg] https://gvcgo.github.io/vmr-apt stable main" \
| sudo tee /etc/apt/sources.list.d/vmr.list
sudo apt update
sudo apt install vmrcurl -fsSLO https://gvcgo.github.io/vmr-pacman/vmr.gpg
sudo pacman-key --add vmr.gpg
sudo pacman-key --lsign-key C387E9AE5C936248D446868C44E5A0323545E858Append the repository to /etc/pacman.conf:
[vmr]
SigLevel = Required DatabaseOptional
Server = https://gvcgo.github.io/vmr-pacman/$archThen install:
sudo pacman -Syu vmrRequires Rust 1.93+ and a C toolchain (Xcode Command Line Tools on macOS, MSVC Build Tools on Windows, build-essential and pkg-config on Linux). The workspace lives under vmr/, so clone the repository and install the vmr-cli package:
git clone https://github.com/gvcgo/version-manager
cd version-manager
cargo install --path vmr/crates/vmr-cli --lockedvmr is installed to ~/.cargo/bin; make sure that directory is on PATH. To upgrade after pulling changes, rerun the last command with --force:
cargo install --path vmr/crates/vmr-cli --locked --forceThe crates are not published to crates.io, so cargo install vmr is not available.
Get the package for your platform from Releases:
| Platform | Example package name |
|---|---|
| macOS (Apple silicon) | vmr-aarch64-apple-darwin.tar.xz |
| macOS (Intel) | vmr-x86_64-apple-darwin.tar.xz |
| Linux (x86_64) | vmr-x86_64-unknown-linux-gnu.tar.xz |
| Linux (ARM64) | vmr-aarch64-unknown-linux-gnu.tar.xz |
| Windows (x64) | vmr-x86_64-pc-windows-msvc.zip |
| Windows (ARM64) | vmr-aarch64-pc-windows-msvc.zip |
Linux / macOS:
tar -xJf vmr-x86_64-apple-darwin.tar.xz
mkdir -p ~/.local/bin
install -m 755 vmr-x86_64-apple-darwin/vmr ~/.local/bin/vmr
# make sure ~/.local/bin is on PATHWindows: after extracting, put vmr.exe in any directory already on PATH.
Every package ships with a .sha256 file, and the release page also has an aggregated SHA256SUMS:
shasum -a 256 -c vmr-x86_64-apple-darwin.tar.xz.sha256vmr versionSee the documentation for the quick start, usage guide, command reference, and plugin API.
- Questions and suggestions: Issues
- Downloads: Releases
- Implementation and development notes: vmr/readme.md

