★ 1,000+ stars on GitHub · open source
Every Zig version.
One command.
ZVM installs and switches between Zig versions for you. It's a single static binary with no system dependencies — on Windows, macOS, Linux, BSD, and even Plan 9.
curl https://www.zvm.app/install.sh | bash
zvm i master
zig versionWhy does Zig need a version manager?
Zig is still pre-1.0, with the standard library under heavy development and a large feature roadmap. That means breaking changes to builds, evolving syntax, and brand-new features like the package manager landing regularly.
Great for the language — painful when you need several versions installed to compile different projects, or when the toolchain updates faster than your code does. Doing that by hand means hunting down the right tarball, decompressing it, and wiring up your $PATH every single time.
Or you install ZVM once, and run zvm i master whenever you want the latest. It handles the downloading, verifying, and switching — you just write Zig.
Install ZVM
ZVM lives entirely in $HOME/.zvm on every platform. New Zig versions download there, and zvm use symlinks your pick into $HOME/.zvm/bin — just keep that on your $PATH. The installer scripts below set all of this up for you automatically.
curl https://www.zvm.app/install.sh | bashirm "https://www.zvm.app/install.ps1" | iexpowershell -c "irm https://www.zvm.app/install.ps1 | iex"go install -ldflags "-s -w" github.com/tristanisham/zvm@latestPrefer a manual setup? Grab the latest release or build from source with go build . — full instructions are in the README.
Your first five minutes
Once ZVM is installed, this is the whole workflow. Versions accept exact numbers, shorthands like .14 (meaning the latest 0.14.x), and aliases like master and stable.
$ zvm i masterInstall the latest nightly build of Zig.
$ zvm i stableInstall the latest stable release — no version number needed.
$ zvm use 0.14Switch to the newest installed 0.14.x. Shorthand resolves locally.
$ zvm run 0.13.0 versionRun a one-off command with a version without switching your default.
$ zvm i --zls masterInstall Zig together with ZLS, the Zig language server.
$ zvm ls --allSee every Zig version available for download.
Built for how Zig actually works
One static binary
No runtime, no system dependencies, no package manager required. Download it and run it — that's the whole install.
Every platform
Windows, macOS, Linux, FreeBSD, OpenBSD, Solaris, and Plan 9. More platforms than any other Zig version manager.
Any Zig flavor
Custom version maps let you install any flavor of Zig — including Mach — from your own release index.
ZLS built in
Add --zls to any install and ZVM fetches a compatible Zig language server alongside your toolchain.
Shorthands & aliases
zvm i .14 grabs the latest 0.14.x. Name your own versions too — zvm alias work 0.13.0, then zvm use work.
Agent-ready
Ships a portable skill for Claude Code and Codex, so AI coding agents drive zvm correctly — including zvm run, which never repoints your global Zig.
Ready to stop managing toolchains by hand?
curl https://www.zvm.app/install.sh | bash