zigverm is a Zig version manager. It installs, updates, and switches Zig toolchains per directory, so different projects can pin different Zig versions without changing your global setup.
Refer to the installation section for platform-specific steps and compiling instructions.
masterrefers to the Zig master builds.stablerefers to the latest Zig release. Zig has not reached a stable version yet, so this is the most recent release. This label will be renamed tolatestin the future.
- Install the latest release
zigverm install stable- Install the Zig master build
zigverm install master- Install a specific version
zigverm install 0.12.0- Install the most recent patch release for a minor version
zigverm install 0.12- Remove a version
zigverm remove 0.12.0- Update all installed versions
zigverm update- Update a specific track (master, stable, or a minor line)
zigverm update master
zigverm update stable
zigverm update 0.12Specific versions installed as full semantic versions (for example, 0.10.1) are not updated.
Overrides let you pin a Zig version for a directory. All subdirectories inherit the same version unless they also have an explicit override.
- Override the current directory
zigverm override 0.12.0- Override a specific directory
zigverm override ~/some/path 0.12.0- Override the default version
zigverm override default 0.12.0The default label acts as the fallback version when no override is present for a directory. It can be changed with zigverm override default [VERSION] but it cannot be removed.
- Remove an override
zigverm override-rm ~/some/pathAny override can be removed with zigverm override-rm except for default.
- Show zigverm installation info and the active version for the current directory
zigverm info- Open the Zig language reference for the active or specified version
zigverm reference
zigverm reference 0.12.0- Open the Zig standard library documentation for the active or specified version
zigverm std
zigverm std 0.12.0zigverm update-self