Fast, simple, and powerful. Manage multiple Bun versions with zero dependencies.
$ curl -fsSL https://install.bunvm.com | bash
Built for developers who demand simplicity and speed
Zero dependencies. Pure shell script. Instant version switching.
Automatically detects .bun-version files. No manual switching needed.
Smart autocompletion for both Bash and Zsh.
Install and manage unlimited Bun versions.
Create memorable names for versions.
Works seamlessly on macOS and Linux.
Get started in seconds
$ curl -fsSL https://install.bunvm.com | bash
Installs BunVM to ~/.bunvm and sets up your shell.
$ curl -fsSL https://uninstall.bunvm.com | bash
Completely removes BunVM and all installed versions.
# Install the latest version of Bun
$ bunvm install latest
# Verify installation
$ bun --version
1.3.4
# Check current version
$ bunvm current
✓ Version actual: 1.3.4
Everything you need to manage Bun versions
bunvm install <version>
Install a specific version of Bun
$ bunvm install latest
$ bunvm install 1.0.25
bunvm use <version>
Switch to a specific version (persists across shells)
$ bunvm use 1.0.25
✓ Ahora usando Bun 1.0.25
bunvm list [--local]
List available or installed versions
$ bunvm list --local
Version | Status | Use | Path
1.0.25 | installed* | * | ~/.bunvm/versions/bun-1.0.25
See BunVM in action
Different projects, different Bun versions. No manual switching needed.
# Project A
$ cd ~/projects/project-a
$ echo "1.0.25" > .bun-version
# Auto-switches to 1.0.25! 🎉
# Project B
$ cd ~/projects/project-b
$ echo "1.0.20" > .bun-version
# Auto-switches to 1.0.20! 🎉
Test new features without breaking your workflow.
# Setup versions
$ bunvm install 1.0.25
$ bunvm alias stable 1.0.25
$ bunvm install 1.1.0
$ bunvm alias beta 1.1.0
# Easy switching
$ bunvm use beta
# Test features...
$ bunvm use stable
Ensure everyone uses the same Bun version.
# In your project
$ echo "1.0.25" > .bun-version
$ git add .bun-version
$ git commit -m "Pin Bun version"
# Team members:
$ git clone <repo>
$ cd <repo>
# BunVM auto-detects version! 🤝
Perfect for GitHub Actions and other CI/CD pipelines.
# .github/workflows/test.yml
- name: Install BunVM
run: |
curl -fsSL https://install.bunvm.com | bash
- name: Install Bun
run: |
source ~/.bashrc
bunvm install $(cat .bun-version)
- name: Run tests
run: bun test
Join developers who manage Bun versions the smart way
$ curl -fsSL https://install.bunvm.com | bash