Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 anyzig

查看 anyzig 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install anyzig

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install zig

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add zig

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

Fedora dnf已验证 · 92%
sudo dnf install zig

Fedora Rawhide package metadata · zig · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#zig

nixpkgs package indexes · zig · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S zig

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

openSUSE zypper已验证 · 92%
sudo zypper install zig

openSUSE Tumbleweed package metadata · zig · 来源: download.opensuse.org

概览

软件包摘要

Universal zig executable that runs any version of zig

命令和别名

  • zig

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 anyzig 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
zigcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2026.03.26
管理器更新时间2026-06-14
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/marler8997/anyzig

安装元数据

软件包元数据

软件包键brew:anyzig
版本2026.03.26
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/anyzig
主页https://github.com/marler8997/anyzig
仓库https://github.com/marler8997/anyzig
上游文档https://github.com/marler8997/anyzig#readme
许可证MIT
源码归档https://github.com/marler8997/anyzig/archive/refs/tags/v2026_03_26.tar.gz
最后更新2026-06-14T15:28:38-04:00
Pulseupdated
构建依赖zig@0.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts94%

zig

sudo port install zig
  • installed executable or alias match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式: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 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式: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 提供
  • installed executable or alias match
  • 匹配方式: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 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式: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 依赖
  • installed executable or alias match
  • 匹配方式: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 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式: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 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式: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 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式: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 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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