🍺 BREW Explorer

← all formulae

zig

brew install zig v0.16.0_1 MIT

Systems programming language compiled to machine code via LLVM, emphasizing safety, minimal abstractions, and explicit control.

Why you might care

Zig is a low-level alternative to C/C++ with modern ergonomics—no hidden allocations, built-in testing, and first-class C interop. It compiles fast to single binaries and can cross-compile to any target out of the box. Use it when you want Rust-like safety guarantees but with C-like simplicity and direct hardware access.

Categories

Alternatives

C C++ Rust Go
3.6k
30-day installs · #738
24.6k
90-day · #446
74.8k
365-day · #514

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [
    "zig@0.16"
  ],
  "alternatives": [
    "C",
    "C++",
    "Rust",
    "Go"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "language-runtime",
    "compiler"
  ],
  "caveats": null,
  "conflicts_with": [
    "anyzig"
  ],
  "dependencies": [
    "lld@21",
    "llvm@21",
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Programming language designed for robustness, optimality, and clarity",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:03+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "zig",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://ziglang.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Home\n      \u00e2\u009a\u00a1\n      Zig Programming Language",
  "installs_30d": 3625,
  "installs_365d": 74823,
  "installs_90d": 24600,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:46:44+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "zig",
  "oldnames": [],
  "one_liner": "Systems programming language compiled to machine code via LLVM, emphasizing safety, minimal abstractions, and explicit control.",
  "optional_dependencies": [],
  "rank_30d": 738,
  "rank_365d": 514,
  "rank_90d": 446,
  "raw_hash": "bfdf21889d2a3263",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/z/zig.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.16.0",
  "versioned_formulae": [
    "zig@0.15",
    "zig@0.14"
  ],
  "why_use_this": "Zig is a low-level alternative to C/C++ with modern ergonomics\u2014no hidden allocations, built-in testing, and first-class C interop. It compiles fast to single binaries and can cross-compile to any target out of the box. Use it when you want Rust-like safety guarantees but with C-like simplicity and direct hardware access."
}