anyzig
brew install anyzig
v2026.03.26
MIT
Universal zig executable that runs any version of zig
33
30-day installs · #5622
128
90-day · #5060
432
365-day · #5454
426
★ GitHub stars · updated 3mo ago
Build dependencies
Links
- https://github.com/marler8997/anyzig
- GitHub: marler8997/anyzig
- Brew formula source: Formula/a/anyzig.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"zig@0.14"
],
"categories": [],
"caveats": null,
"conflicts_with": [
"zig"
],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Universal zig executable that runs any version of zig",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:35:25+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "anyzig",
"github_default_branch": "master",
"github_last_commit_at": "2026-05-16T01:25:42Z",
"github_readme_excerpt": "# anyzig\n\n\n\nA universal zig executable that lets you run any version of zig. Since you can only have one `zig` executable in your `PATH`, anyzig removes the limitation that this can only be one version. The version of zig to invoke is pulled from the `minimum_zig_version` field of `build.zig.zon`. `build.zig.zon` is found by searching the current or any parent directory.\n\nAnytime a new zig version is needed, anyzig will invoke the equivalent of `zig fetch ZIG_DOWNLOAD_URL` to download it into the global cache.\n\nIn addition, you can also specify the version of zig to invoke by including it as the first argument, i.e.\n\n```sh\n$ zig 0.13.0 build-exe myproject.zig\n$ zig 0.14.0-dev.3028+cdc9d65b0 build-exe mynewerproject.zig\n```\n\nAnyzig also adds a few of its own commands, which can be queried and invoked with `zig any ...`.\n\n# Install\n\nGo to https://marler8997.github.io/anyzig and select your OS/Arch to get a download link and/or instructions to install via the command-line.\n\nOtherwise, you can manually find and download/extract the applicable archive from Releases. It will contain a single static binary named `zig`, unless you\u0027re on Windows in which case it\u0027s 2 files, `zig.exe` and `zig.pdb`.\n\n# Mach Versions and Download Mirror\n\nMach is a game engine that provides a mirror to download the zig compiler as well as its own \"nominated versions\" (see https://machengine.org/docs/nominated-zig/). Mach versions use a different format (i.e. `2024.10.0-mach`) and always end with `-mach`, so, if anyzig sees a version that looks like this, it will know it\u0027s a mach version and that it needs to resolve it to a URL using mach\u0027s download index. In addition, anyzig will also look for a `.mach_zig_version = \"...\"` property in your `build.zig.zon` file and use that instead of `.minimum_zig_version`.\n\n\u003e The reason for using `.mach_zig_version` instead of `.minimum_zig_version` is that in the future, zig will likely do some verification of the minimum_zig_version field and using a mach ve",
"github_repo": "marler8997/anyzig",
"github_stars": 426,
"github_topics": [],
"homepage": "https://github.com/marler8997/anyzig",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 33,
"installs_365d": 432,
"installs_90d": 128,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "anyzig",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 5622,
"rank_365d": 5454,
"rank_90d": 5060,
"raw_hash": "9f6bda4eca11ea49",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/a/anyzig.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2026.03.26",
"versioned_formulae": [],
"why_use_this": null
}