zig

Install command:
brew install zig

Also known as: zig@0.17

Programming language designed for robustness, optimality, and clarity

https://ziglang.org/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/zig.json

Formula code: zig.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.17.1

Other versions:

zig@0.16 0.16.0 Programming language designed for robustness, optimality, and clarity
zig@0.15 0.15.2 Programming language designed for robustness, optimality, and clarity
zig@0.14 0.14.1 Programming language designed for robustness, optimality, and clarity

Patches:

https://github.com/Homebrew/homebrew-core/blob/main/Patches/zig/0.16.patch

Depends on:

lld@22 22.1.8 LLVM Project Linker
llvm@22 22.1.8 Next-gen compiler infrastructure
zstd 1.5.7 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 4.5.0 Cross-platform make

Binaries: zig

GitHub Packages downloads:

Last 30 days53,589
Downloads829,200
Analytics install events (30 days)7,487
Downloads / install events (30 days)7.2×

Source: GitHub Packages, fetched 2026-11-19T00:56:13Z. Analytics dates: 2026-10-20 to 2026-11-19. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs7,48116,13779,573
Installs (--HEAD)620117
Installs on Request7,19515,18176,160
Installs on Request (--HEAD)620117
Build Errors7