macOS
brew install anyziglocal Homebrew formula metadata
sudo port install zigMacPorts ports tree · lang/zig/Portfile · source: api.github.com
brew
Universal zig executable that runs any version of zig. Version 2026.03.26 via Homebrew; verified 2026-06-14. Also installable with macports: sudo port install zig.
install
brew install anyziglocal Homebrew formula metadata
sudo port install zigMacPorts ports tree · lang/zig/Portfile · source: api.github.com
sudo apk add zigAlpine Linux edge package indexes · zig · source: dl-cdn.alpinelinux.org
sudo dnf install zigFedora Rawhide package metadata · zig · source: dl.fedoraproject.org
nix profile install nixpkgs#zignixpkgs package indexes · zig · source: raw.githubusercontent.com
sudo pacman -S zigArch Linux sync databases · zig · source: geo.mirror.pkgbuild.com
sudo zypper install zigopenSUSE Tumbleweed package metadata · zig · source: download.opensuse.org
choco install zigChocolatey community package catalog · zig · source: community.chocolatey.org
scoop install main/zigScoop official bucket manifest trees · bucket/zig.json · source: api.github.com
winget install --id zig.zig -eWindows Package Manager source index · zig.zig · source: cdn.winget.microsoft.com
overview
Universal zig executable that runs any version of zig
history
anyzig is a small Zig toolchain wrapper that installs as a `zig` executable and dispatches to the Zig version declared by a project. Its niche is the same one occupied by language-version shims in other ecosystems: make the command name stable while allowing each checkout to pin a compiler.
The upstream README describes anyzig as a universal Zig executable that reads `minimum_zig_version` from `build.zig.zon`, searching the current directory and parent directories. When a needed Zig version is missing, it downloads that compiler into Zig's global cache using an operation equivalent to `zig fetch`.
The project also tracks Zig-adjacent practice around the Mach game engine. Its README documents Mach nominated Zig versions, recognizes versions ending in `-mach`, and can read `.mach_zig_version` from `build.zig.zon` for projects that follow Mach's version stream.
Its Homebrew formula packages the wrapper under the name `anyzig` while installing an executable named `zig`, making it useful for developers who want `brew install anyzig` to provide a version-aware Zig command instead of one fixed compiler build.
The public tag series uses date-like releases such as `v2025_02_10` through `v2026_03_26`, suggesting an actively updated compatibility shim rather than a frozen compiler distribution.
Typical use is transparent: run `zig` inside a Zig project and let anyzig choose the version from `build.zig.zon`. The README also documents an explicit-version form such as `zig 0.13.0 build-exe myproject.zig` and an `zig any ...` command namespace for anyzig-specific commands.
Package nerds care because anyzig turns a single executable name into a project-sensitive Zig launcher. That is attractive in Homebrew, where replacing the normal `zig` command with a shim lets multiple project compiler versions coexist without installing and selecting separate formulae by hand.
security posture
No matching local secret-handling manifest was found for anyzig. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./build.zig.zonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
zig | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/marler8997/anyzig
install metadata
| Package key | brew:anyzig |
|---|---|
| Version | 2026.03.26 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/anyzig |
| Homepage | https://github.com/marler8997/anyzig |
| Repository | https://github.com/marler8997/anyzig |
| Upstream docs | https://github.com/marler8997/anyzig#readme |
| License | MIT |
| Source archive | https://github.com/marler8997/anyzig/archive/refs/tags/v2026_03_26.tar.gz |
| Last updated | 2026-06-14T15:28:38-04:00 |
| Pulse | updated |
| Build dependencies | zig@0.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | anyzig |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
zig
sudo port install zigzig
nix profile install nixpkgs#zigzig 0.16.0-r1
General-purpose programming language designed for robustness, optimality, and maintainability
sudo apk add zigzig-doc 0.16.0-r1
General-purpose programming language designed for robustness, optimality, and maintainability (documentation)
sudo apk add zig-doczig 0.16.0-1.fc45
Programming language for maintaining robust, optimal, and reusable software
sudo dnf install zigzig-doc 0.16.0-1.fc45
Documentation for zig
sudo dnf install zig-doczig-libs 0.16.0-1.fc45
zig Standard Library
sudo dnf install zig-libszig-rpm-macros 0.16.0-1.fc45
Common RPM macros for zig
sudo dnf install zig-rpm-macroszig 0.16.0-1
a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software
sudo pacman -S zigzig 0.15.2-1.1
Compiler for the Zig language
sudo zypper install zigzig0.14 0.14.1-2.3
Compiler for the Zig language
sudo zypper install zig0.14zig0.15 0.15.2-2.3
Compiler for the Zig language
sudo zypper install zig0.15zig0.16 0.16.0-1.1
Compiler for the Zig language
sudo zypper install zig0.16zig
choco install zigmain/zig
scoop install main/zigzig.zig
winget install --id zig.zig -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.