Automic VaultAutomic Vault

brew

Install anyzig with Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

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

Additional install commands

macOS

Homebrewverified · 100%
brew install anyzig

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install zig

MacPorts ports tree · lang/zig/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add zig

Alpine Linux edge package indexes · zig · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install zig

Fedora Rawhide package metadata · zig · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#zig

nixpkgs package indexes · zig · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S zig

Arch Linux sync databases · zig · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install zig

openSUSE Tumbleweed package metadata · zig · source: download.opensuse.org

overview

Package summary

Universal zig executable that runs any version of zig

Commands and aliases

  • zig

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2025: Public date-stamped release tags such as `v2025_02_10` appear in the upstream Git repository.
  • 2025: README documents Mach nominated Zig version handling and `.mach_zig_version` support.
  • 2026: Date-stamped tags continue through `v2026_03_26` in the upstream Git repository.

Related projects

  • Zig is the compiler that anyzig dispatches to.
  • Mach is supported through nominated Zig version handling and a `.mach_zig_version` field.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./build.zig.zon

executables

Installed executables

CommandKindExposureNote
zigcliglobal executable

freshness

Version and 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.

page generated2026-07-25
manager version2026.03.26
manager updated2026-06-14
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/marler8997/anyzig

install metadata

Package metadata

Package keybrew:anyzig
Version2026.03.26
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/anyzig
Homepagehttps://github.com/marler8997/anyzig
Repositoryhttps://github.com/marler8997/anyzig
Upstream docshttps://github.com/marler8997/anyzig#readme
LicenseMIT
Source archivehttps://github.com/marler8997/anyzig/archive/refs/tags/v2026_03_26.tar.gz
Last updated2026-06-14T15:28:38-04:00
Pulseupdated
Build dependencieszig@0.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameanyzig
Version Scheme0
Revision0
Conflicts With
  • zig
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts94%

zig

sudo port install zig
  • installed executable or alias match
  • Matched by: Zig
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/zig/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

zig

nix profile install nixpkgs#zig
  • installed executable or alias match
  • Matched by: Zig
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: zig from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk92%

zig 0.16.0-r1

General-purpose programming language designed for robustness, optimality, and maintainability

https://ziglang.org/

sudo apk add zig
  • License: MIT
  • Architecture: x86_64
  • Source Package: zig
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Zig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zig from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

zig-doc 0.16.0-r1

General-purpose programming language designed for robustness, optimality, and maintainability (documentation)

https://ziglang.org/

sudo apk add zig-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: zig
  • installed executable or alias match
  • Matched by: Zig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf92%

zig 0.16.0-1.fc45

Programming language for maintaining robust, optimal, and reusable software

https://ziglang.org

sudo dnf install zig
  • License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: zig
  • 8 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Zig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

zig-doc 0.16.0-1.fc45

Documentation for zig

https://ziglang.org

sudo dnf install zig-doc
  • License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: zig
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Zig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zig-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

zig-libs 0.16.0-1.fc45

zig Standard Library

https://ziglang.org

sudo dnf install zig-libs
  • License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: zig
  • 1 provides
  • installed executable or alias match
  • Matched by: Zig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zig-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

zig-rpm-macros 0.16.0-1.fc45

Common RPM macros for zig

https://ziglang.org

sudo dnf install zig-rpm-macros
  • License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: zig
  • 1 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Zig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zig-rpm-macros from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

zig 0.16.0-1

a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software

https://ziglang.org/

sudo pacman -S zig
  • License: MIT
  • Architecture: x86_64
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Zig
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

zig 0.15.2-1.1

Compiler for the Zig language

https://ziglang.org/

sudo zypper install zig
  • License: MIT
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: zig
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Zig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

zig0.14 0.14.1-2.3

Compiler for the Zig language

https://ziglang.org/

sudo zypper install zig0.14
  • License: MIT
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: zig0.14
  • 6 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: Zig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zig0.14 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

zig0.15 0.15.2-2.3

Compiler for the Zig language

https://ziglang.org/

sudo zypper install zig0.15
  • License: MIT
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: zig0.15
  • 6 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: Zig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zig0.15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

zig0.16 0.16.0-1.1

Compiler for the Zig language

https://ziglang.org/

sudo zypper install zig0.16
  • License: MIT
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: zig0.16
  • 6 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: Zig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zig0.16 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey92%

zig

choco install zig
  • installed executable or alias match
  • Matched by: Zig
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: zig from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','yubikey-manager'
Scoop92%

main/zig

scoop install main/zig
  • installed executable or alias match
  • Matched by: Zig
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/zig.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

zig.zig

winget install --id zig.zig -e
  • installed executable or alias match
  • Matched by: Zig
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: zig.zig from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment