macOS
brew install ziguplocal Homebrew formula metadata
安装
brew install ziguplocal Homebrew formula metadata
scoop install main/zigupScoop official bucket manifest trees · bucket/zigup.json · 来源: api.github.com
概览
Download and manage zig compilers
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
zigup | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/marler8997/zigup
安装元数据
| 软件包键 | brew:zigup |
|---|---|
| 版本 | 2025.05.24 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/zigup |
| 主页 | https://github.com/marler8997/zigup |
| 仓库 | https://github.com/marler8997/zigup |
| 上游文档 | https://github.com/marler8997/zigup#readme |
| 许可证 | MIT-0 |
| 源码归档 | https://github.com/marler8997/zigup/archive/refs/tags/v2025_05_24.tar.gz |
| 最后更新 | 2026-06-14T16:15:24-04:00 |
| Pulse | updated |
| 构建依赖 | zig@0.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zigup |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
main/zigup
scoop install main/zigup来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.