cd /news/developer-tools/yet-another-zig-version-manager-but-… · home › topics › developer-tools › article
[ARTICLE · art-177890] src=ziggit.dev ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Yet another Zig version manager (but it is context aware)

Developer Judeadeniji released zvm, a single native binary with no runtime dependencies that resolves the `zig` and `zls` commands to the correct version for the current directory, built with Zig 0.17.0. zvm picks a version in a fixed order: the `ZIG_VERSION` environment variable, a `.zig-version` file in the current or any parent directory (exact version, `master`, or a semver range like `^0.17.0`), the `minimum_zig_version` field in `build.zig.zon`, then the version set by `zvm use`; the parent-directory search stops at the nearest `.git` so a pin in an outer repo does not leak into a nested checkout. The author said an AI coding assistant was used for part of the work, including edge-case audits, unifying exit codes and the install lock, and asked for feedback from macOS, Windows and multi-repo users via `zvm doctor`.

key takeaway

zvm resolves the Zig and zls version per directory from ZIG_VERSION, a .zig-version file (exact, master, or a semver range like ^0.17.0), or build.zig.zon's minimum_zig_version, stopping the parent search at the nearest .git.

read1 min views13 publishedNov 28, 2026

zvm is a single native binary with no runtime dependencies that makes zig (and zls) resolve to the right version for whatever directory you’re in.

It picks a version in this order:

ZIG_VERSION env var.zig-version in the current or any parent directory (exact version, master, or a semver range like ^0.17.0) minimum_zig_version from build.zig.zon`` zvm use) The parent search stops at the nearest .git, so a pin in an outer repo doesn’t leak into a nested checkout.

Other things it does:

zig`` zvm install 0.17.0 --with-zls) Quick start:

curl -fsSL https://raw.githubusercontent.com/Judeadeniji/zvm/main/install.sh | sh
zvm setup
zvm doctor

Built with Zig 0.17.0. I used an AI coding assistant for part of this (edge-case audits, unifying exit codes, the install lock), and everything was reviewed and tested by me.

I’d especially like feedback from people on macOS, Windows, or with multi-repo setups. Run zvm doctor and tell me what works or breaks. Issues and PRs are welcome on GitHub.

── more in #developer-tools 4 stories · sorted by recency
── more on @zvm 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/yet-another-zig-vers…] indexed:0 read:1min 2026-11-28 · —