# 使用 Homebrew, scoop 安装 zigup

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

## 安装

```sh
sudo av install brew:zigup
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zigup
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/zigup
```

  证据: Scoop official bucket manifest trees: bucket/zigup.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:zigup
- **软件包管理器:** Homebrew
- **版本:** 2025.05.24
- **来源摘要:** Download and manage zig compilers
- **主页:** <https://github.com/marler8997/zigup>
- **仓库:** <https://github.com/marler8997/zigup>
- **最后更新:** 2026-06-14T16:15:24-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zigup (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

zigup is a Zig compiler version manager by marler8997. It downloads Zig compiler builds, stores them in versioned directories, and switches the zig command users get on PATH, making it a practical companion for a pre-1.0 language whose projects often require specific compiler generations.

### 项目历史

The zigup repository was created in May 2020 and describes its purpose as downloading and managing Zig compilers. GitHub release data shows continuing date-stamped releases from at least 2021 through 2025, including v2025_05_24.

The README now includes an important maintenance note: the author no longer uses zigup personally, recommends anyzig instead, but says zigup will continue to be supported for people who prefer it. That is a useful ecosystem transition, not an abandonment story: zigup remains the explicit switcher, while anyzig aims to choose the right compiler from project metadata.

### 采用历史

zigup's adoption follows directly from Zig's release and compatibility model. Because build.zig APIs, standard-library APIs, and language details change before 1.0, users often need to fetch master, a stable release, or an older compiler quickly.

The tool is especially attractive to Zig contributors, library authors, and package maintainers who test across several Zig versions. Its Homebrew and Scoop packaging also made it easy to install as a general-purpose Zig version switcher.

### 使用方式

Common commands from the README include zigup <version> to fetch and set a compiler as default, zigup fetch <version> to download without switching, zigup default to print or set the default compiler, zigup list to show installed versions, zigup clean to remove old compilers, and zigup run <version> <args> to run a specific compiler.

Internally, zigup stores compilers in a global install directory and exposes the selected zig through a PATH entry: a symlink on POSIX systems and a forwarding executable on Windows. That keeps the workflow simple for shell users and package recipes that expect a command named zig.

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

zigup is significant because Zig version management is not cosmetic. In Zig, the compiler is also the build system and package manager, so selecting a version selects the behavior of build.zig, build.zig.zon, std, zig cc, and test execution.

The README's move toward anyzig also tells a broader package story: manual global switching works, but project-declared compiler versions are a better long-term fit for reproducible builds.

### 时间线

- 2020-05-30: marler8997/zigup is created on GitHub.
- 2021-02-20: GitHub release data shows an early date-stamped zigup release.
- 2022-2025: zigup continues publishing date-stamped releases for current Zig users.
- 2025-05-24: v2025_05_24 is published, the latest release observed in the GitHub release list checked for this enrichment.
- 2026: The README recommends anyzig for automatic project-based compiler selection while keeping zigup supported.

### Related projects

- anyzig is the author's recommended successor-style tool that invokes the correct Zig version based on project metadata.
- Zig's official download index is the source of release builds that version managers revolve around.
- brew:zig, brew:zig@0.14, and brew:zig@0.15 are package-manager alternatives for installing specific compiler lines without a separate switcher.

### 来源

- <https://api.github.com/repos/marler8997/zigup>
- <https://api.github.com/repos/marler8997/zigup/releases?per_page=100>
- <https://github.com/marler8997/anyzig>
- <https://github.com/marler8997/zigup>
- <https://raw.githubusercontent.com/marler8997/zigup/master/README.md>
- <https://ziglang.org/download/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Scoop - main/zigup: normalized package name match | Scoop official bucket manifest trees: bucket/zigup.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
