# 使用 Homebrew 安装 zigmod

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

## 安装

```sh
sudo av install brew:zigmod
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zigmod
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:zigmod
- **软件包管理器:** Homebrew
- **版本:** 103
- **来源摘要:** Package manager for the Zig programming language
- **主页:** <https://nektro.github.io/zigmod/>
- **仓库:** <https://github.com/nektro/zigmod>
- **最后更新:** 2026-06-14T15:26:55-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zigmod (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 103
## 项目历史与用法

zigmod is a third-party package manager for the Zig programming language by nektro. It matters historically because it filled a real dependency-management gap before Zig's official build.zig.zon package manager matured, using manifests such as zigmod.yml and the legacy zig.mod file.

### 项目历史

The zigmod GitHub repository was created in November 2020 and describes itself simply as a package manager for Zig. Early releases began immediately, with GitHub release data showing v2-88c035e published on 2020-11-09 and rapid follow-up releases in the same month.

The project's documentation presents zigmod.yml as the main manifest read by Zigmod, with zig.mod as a valid legacy alternative. That detail captures its place in Zig history: it used its own package description format before the official Zig package manager standardized on build.zig.zon.

Zigmod continued to track newer Zig compilers; the README currently says it is built with Zig 0.16.0 and points users to releases, docs, and a tutorial. It also had CI ecosystem support through the Setup Zigmod GitHub Action.

### 采用历史

Adoption was niche but important inside the early Zig ecosystem. Before Zig 0.11 introduced the official package manager, a Zig developer wanting dependencies often had to choose between vendoring source, git submodules, custom build.zig logic, or tools such as zigmod.

After Zig 0.11 debuted official package management, zigmod's role changed from trailblazer to compatibility and legacy tooling. It remains useful context for packages that still contain zig.mod or zigmod.yml, and for understanding why older Zig projects do not always look like modern build.zig.zon projects.

### 使用方式

Typical usage is project-local dependency management: declare packages in zigmod.yml or zig.mod, let zigmod resolve and fetch them, and integrate the resulting dependency graph into Zig builds. The documentation and tutorial are the practical entry points.

For package maintainers, zigmod is mostly a historical signal now: if an upstream Zig project has zigmod files, the recipe may need an older toolchain path or a migration to build.zig.zon rather than assuming current Zig package-manager conventions.

### 为什么软件包爱好者会关心

Zigmod is package-manager archaeology from a young language ecosystem. It shows the period where community tools experimented with dependency metadata and fetching before the language project made package management part of zig itself.

It also explains a common package-nerd annoyance in Zig: old projects may carry zig.mod, zigmod.yml, custom package managers, or vendored dependencies, while newer projects expect build.zig.zon. That split affects reproducibility and formula maintenance.

### 时间线

- 2020-11-09: nektro/zigmod is created on GitHub and an early v2 release is published.
- 2021: Zigmod appears in community discussion as a way to avoid git submodules for Zig dependencies.
- 2023-08-04: Zig 0.11.0 debuts the official package manager, changing zigmod's role in the ecosystem.
- 2026: Zigmod documentation still describes zigmod.yml as the main manifest and zig.mod as a legacy alternative.

### Related projects

- Zig's official package manager, introduced in Zig 0.11, is the modern upstream package-management path.
- build.zig.zon is the official Zig package metadata file that displaced many earlier third-party conventions.
- Setup Zigmod is a GitHub Action for using Zigmod in Zig workflows.

### 来源

- <https://api.github.com/repos/nektro/zigmod>
- <https://api.github.com/repos/nektro/zigmod/releases?per_page=100&page=2>
- <https://github.com/marketplace/actions/setup-zigmod>
- <https://github.com/nektro/zigmod>
- <https://nektro.github.io/zigmod/>
- <https://nektro.github.io/zigmod/zig.mod.html>
- <https://ziglang.org/download/0.11.0/release-notes.html>


## 安全说明

generalized runtime or code generation signal. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal


## 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

- Unix: zigmod.yml, zig.mod

## Combined YAML source

View the package source record on GitHub. [combined/zigmod.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zigmod.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
