ZVM-RUN(1)
β¨ zvm-run(1) β¨
okay so bestie, welcome to the zvm-run page π this is the zvm run subcommand from the ZVM manual β it's giving "try a Zig version without committing to it" energy and honestly? iconic π
πΈ NAME πΈ
zvm-run β run Zig without changing the active version, no cap π¦
β¨ SYNOPSIS β¨
zvm run [version] [zig-arguments...]
π DESCRIPTION π
So what it does is it runs the Zig executable from version with the remaining arguments. That's it, that's the vibe π«Ά
Key thing to know: running an already installed version leaves the selected version unchanged β¨ like, your current default stays your current default, we're just visiting.
If the requested version is not installed, ZVM offers to install it. And heads up β accepting this prompt installs it as the global default before running it π so yeah, that one does move your default. Be aware, bestie.
Version shorthand and aliases are accepted; see zvm(1) for the deets π.
When no version is supplied, ZVM reads .minimum_zig_version from build.zig.zon in the current directory and passes all arguments to Zig π. For example, zvm run build --help uses the project's minimum Zig version. Very main character of it.
Arguments after version are passed directly to Zig π including arguments beginning with a hyphen. Yes, even the hyphens. They don't get eaten. Slay.
π₯ EXAMPLES π₯
zvm run 0.13.0 version
zvm run .14 build test
zvm run master build run -- --port 8080
zvm run build --help
look at all those little version shorthand moments β¨ .14 bestie, we love a shorthand.
π SEE ALSO π
and that's the whole page, periodt π ZVM v0.9.4, dated August 2026 β go run some Zig, bestie, iykyk π§π
π¦ where this page comes from
- nixpkgs unstable: zvm 0.9.4
- Copyright 2026 Tristan Isham. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms