github marler8997/anyzig v2026_10_20
Use community-mirrors, and set ad-hoc version

4 hours ago

Main User Facing Changes

Compilers are now downloaded from the Zig community mirrors, and you can now set a zig version to use outside of projects. Here are the user-facing changes in this release:

  • Community mirrors: compilers from ziglang.org are now downloaded from the community mirrors, tried in a random order, and every download's minisign signature is verified against the ZSF's public key (including that it signs the requested file, so a mirror can't serve a different version). If no mirror can provide it, anyzig falls back to ziglang.org. Set ANYZIG_MIRRORS to a space-separated list of mirror URLs to use those instead, in order. By @dasimmet and @marler8997 in #70
  • Ad-hoc version: zig any set-ad-hoc-version VERSION sets the zig version to use outside of a project (no build.zig in the current or any parent directory), so editors and one-off files work without specifying a version. A project's version always takes priority. Run it without a VERSION to clear it. By @nhawke and @marler8997 in #83
  • Downloads are logged by default: anyzig now prints which compiler it's downloading and from where, along with a warning when a mirror fails.
  • Unknown releases fail immediately: a release version that doesn't exist (i.e. a typo like zig 12.2.1) now fails with an error instead of trying to download it.
  • Breaking: zig any set-verbosity was removed: set the ANYZIG_VERBOSE environment variable to any non-empty value to log what anyzig is doing. By @marler8997 in #105

New Contributors

Full Changelog: v2026_10_13...v2026_10_20

Don't miss a new anyzig release

NewReleases is sending notifications on new releases.