macOS
brew install anyziglocal Homebrew formula metadata
安装
brew install anyziglocal Homebrew formula metadata
sudo apk add zigAlpine Linux edge package indexes · zig · 来源: dl-cdn.alpinelinux.org
sudo dnf install zigFedora Rawhide package metadata · zig · 来源: dl.fedoraproject.org
nix profile install nixpkgs#zignixpkgs package indexes · zig · 来源: raw.githubusercontent.com
sudo pacman -S zigArch Linux sync databases · zig · 来源: geo.mirror.pkgbuild.com
sudo zypper install zigopenSUSE Tumbleweed package metadata · zig · 来源: download.opensuse.org
choco install zigChocolatey community package catalog · zig · 来源: community.chocolatey.org
scoop install main/zigScoop official bucket manifest trees · bucket/zig.json · 来源: api.github.com
winget install --id zig.zig -eWindows Package Manager source index · zig.zig · 来源: cdn.winget.microsoft.com
概览
Universal zig executable that runs any version of 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.
安全态势
没有找到 anyzig 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.zon可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
zig | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 构建依赖 | zig@0.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.