# Installer anyzig avec Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de anyzig pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:anyzig
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install anyzig
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zig
```

  Preuve: MacPorts ports tree: lang/zig/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add zig
```

  Preuve: Alpine Linux edge package indexes: zig from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install zig
```

  Preuve: Fedora Rawhide package metadata: zig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#zig
```

  Preuve: nixpkgs package indexes: zig from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S zig
```

  Preuve: Arch Linux sync databases: zig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install zig
```

  Preuve: openSUSE Tumbleweed package metadata: zig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install zig
```

  Preuve: Chocolatey community package catalog: zig from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','yubikey-manager'

- Scoop (92%):

```sh
scoop install main/zig
```

  Preuve: Scoop official bucket manifest trees: bucket/zig.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id zig.zig -e
```

  Preuve: Windows Package Manager source index: zig.zig from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:anyzig
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/anyzig>
- **Version:** 2026.03.26
- **Résumé source:** Universal zig executable that runs any version of zig
- **Page d'accueil:** <https://github.com/marler8997/anyzig>
- **Dépôt:** <https://github.com/marler8997/anyzig>
- **Docs amont:** <https://github.com/marler8997/anyzig#readme>
- **Licence:** MIT
- **Archive source:** <https://github.com/marler8997/anyzig/archive/refs/tags/v2026_03_26.tar.gz>
- **Dernière mise à jour:** 2026-06-14T15:28:38-04:00
- **Généré:** 2026-07-25T07:20:51+00:00

## exécutables

- zig (cli)
- zig (alias)

## Dépendances de compilation

- zig@0.14

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-25
- version du gestionnaire: 2026.03.26
- gestionnaire mis à jour: 2026-06-14
- données locales: OK
- dépôt amont: https://github.com/marler8997/anyzig
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

anyzig is a small Zig toolchain wrapper that installs as a `zig` executable and dispatches to the Zig version declared by a project. Its niche is the same one occupied by language-version shims in other ecosystems: make the command name stable while allowing each checkout to pin a compiler.

### Historique du projet

The upstream README describes anyzig as a universal Zig executable that reads `minimum_zig_version` from `build.zig.zon`, searching the current directory and parent directories. When a needed Zig version is missing, it downloads that compiler into Zig's global cache using an operation equivalent to `zig fetch`.

The project also tracks Zig-adjacent practice around the Mach game engine. Its README documents Mach nominated Zig versions, recognizes versions ending in `-mach`, and can read `.mach_zig_version` from `build.zig.zon` for projects that follow Mach's version stream.

### Historique d'adoption

Its Homebrew formula packages the wrapper under the name `anyzig` while installing an executable named `zig`, making it useful for developers who want `brew install anyzig` to provide a version-aware Zig command instead of one fixed compiler build.

The public tag series uses date-like releases such as `v2025_02_10` through `v2026_03_26`, suggesting an actively updated compatibility shim rather than a frozen compiler distribution.

### Modes d'utilisation

Typical use is transparent: run `zig` inside a Zig project and let anyzig choose the version from `build.zig.zon`. The README also documents an explicit-version form such as `zig 0.13.0 build-exe myproject.zig` and an `zig any ...` command namespace for anyzig-specific commands.

### Pourquoi les passionnés de paquets s'y intéressent

Package nerds care because anyzig turns a single executable name into a project-sensitive Zig launcher. That is attractive in Homebrew, where replacing the normal `zig` command with a shim lets multiple project compiler versions coexist without installing and selecting separate formulae by hand.

### Chronologie

- 2025: Public date-stamped release tags such as `v2025_02_10` appear in the upstream Git repository.
- 2025: README documents Mach nominated Zig version handling and `.mach_zig_version` support.
- 2026: Date-stamped tags continue through `v2026_03_26` in the upstream Git repository.

### Related projects

- Zig is the compiler that anyzig dispatches to.
- Mach is supported through nominated Zig version handling and a `.mach_zig_version` field.

### Sources

- <https://github.com/marler8997/anyzig#readme>
- <https://github.com/marler8997/anyzig.git tags via `git ls-remote --tags`>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour anyzig. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./build.zig.zon
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** anyzig
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** zig
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- MacPorts - zig: installed executable or alias match | MacPorts ports tree: lang/zig/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - zig: installed executable or alias match | nixpkgs package indexes: zig from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - zig - 0.16.0-r1: installed executable or alias match | Alpine Linux edge package indexes: zig from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | General-purpose programming language designed for robustness, optimality, and maintainability | https://ziglang.org/
- apk - zig-doc - 0.16.0-r1: installed executable or alias match | Alpine Linux edge package indexes: zig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | General-purpose programming language designed for robustness, optimality, and maintainability (documentation) | https://ziglang.org/
- dnf - zig - 0.16.0-1.fc45: installed executable or alias match | Fedora Rawhide package metadata: zig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Programming language for maintaining robust, optimal, and reusable software | https://ziglang.org
- dnf - zig-doc - 0.16.0-1.fc45: installed executable or alias match | Fedora Rawhide package metadata: zig-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation for zig | https://ziglang.org
- dnf - zig-libs - 0.16.0-1.fc45: installed executable or alias match | Fedora Rawhide package metadata: zig-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | zig Standard Library | https://ziglang.org
- dnf - zig-rpm-macros - 0.16.0-1.fc45: installed executable or alias match | Fedora Rawhide package metadata: zig-rpm-macros from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Common RPM macros for zig | https://ziglang.org
- pacman - zig - 0.16.0-1: installed executable or alias match | Arch Linux sync databases: zig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software | https://ziglang.org/
- zypper - zig - 0.15.2-1.1: installed executable or alias match | openSUSE Tumbleweed package metadata: zig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Compiler for the Zig language | https://ziglang.org/
- zypper - zig0.14 - 0.14.1-2.3: installed executable or alias match | openSUSE Tumbleweed package metadata: zig0.14 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Compiler for the Zig language | https://ziglang.org/
- zypper - zig0.15 - 0.15.2-2.3: installed executable or alias match | openSUSE Tumbleweed package metadata: zig0.15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Compiler for the Zig language | https://ziglang.org/
- zypper - zig0.16 - 0.16.0-1.1: installed executable or alias match | openSUSE Tumbleweed package metadata: zig0.16 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Compiler for the Zig language | https://ziglang.org/
- Chocolatey - zig: installed executable or alias match | Chocolatey community package catalog: zig from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','yubikey-manager'
- Scoop - main/zig: installed executable or alias match | Scoop official bucket manifest trees: bucket/zig.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - zig.zig: installed executable or alias match | Windows Package Manager source index: zig.zig from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Source-control packages](https://www.automicvault.com/fr/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [proto](https://www.automicvault.com/fr/pkg/brew/proto/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, toolchains, version-manager.
- [zigup](https://www.automicvault.com/fr/pkg/brew/zigup/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, version-manager, zig.
- [ghcup](https://www.automicvault.com/fr/pkg/brew/ghcup/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, version-manager.
- [goenv@2](https://www.automicvault.com/fr/pkg/brew/goenv-2/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, version-manager.
- [juliaup](https://www.automicvault.com/fr/pkg/brew/juliaup/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, version-manager.
- [swiftly](https://www.automicvault.com/fr/pkg/brew/swiftly/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, version-manager.
- [anyenv](https://www.automicvault.com/fr/pkg/brew/anyenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [aqua](https://www.automicvault.com/fr/pkg/brew/aqua/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.

## Combined YAML source

View the package source record on GitHub. [combined/anyzig.yml](https://github.com/automic-vault/db/blob/main/combined/anyzig.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
