# Installer bazel avec Homebrew, chocolatey, MacPorts, Nix, pacman, scoop, winget, zypper

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

## installation

```sh
sudo av install brew:bazel
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install bazel
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bazel
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bazel
```

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

- pacman (92%):

```sh
sudo pacman -S bazel
```

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

- zypper (92%):

```sh
sudo zypper install bazel8
```

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

### Windows

- Chocolatey (92%):

```sh
choco install bazel
```

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

- Scoop (92%):

```sh
scoop install main/bazel
```

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

- winget (92%):

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

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

## Faits du paquet

- **Clé du paquet:** brew:bazel
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/bazel>
- **Version:** 9.2.0
- **Résumé source:** Google's own build tool
- **Page d'accueil:** <https://bazel.build/>
- **Dépôt:** <https://github.com/bazelbuild/bazel>
- **Docs amont:** <https://bazel.build/>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/bazelbuild/bazel/releases/download/9.2.0/bazel-9.2.0-dist.zip>
- **Dernière mise à jour:** 2026-07-29T08:54:40+01:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- bazel-9.2.0 (cli)
- bazel-9.2.0 (alias)

## Dépendances

- openjdk@21

## Bibliothèques fournies par macOS

- unzip
- zip

## 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-08-04
- version du gestionnaire: 9.2.0
- gestionnaire mis à jour: 2026-07-29
- données locales: OK
- dépôt amont: https://github.com/bazelbuild/bazel
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

Bazel is Google's open-source build and test system for large, multi-language codebases, famous in package-manager culture for bringing Google's Blaze-style hermetic, cached, queryable build graph to public monorepos.

### Historique du projet

The public bazelbuild/bazel repository dates to February 2015 and the project reached Bazel 1.0 on October 10, 2019. The 1.0 announcement marked the start of semantic versioning and stability windows for backward-incompatible releases.

Bazel's official introduction emphasizes a high-level build language, Starlark rules, incremental rebuilds based on file content and commands, local and distributed caching, parallel execution, hermeticity, and scale to 100k+ source files and tens of thousands of users.

The modern Bazel line is shaped by dependency-management and rule-modularization migrations. Bazel 7 turned Bzlmod on by default; Bazel 8 turned the old WORKSPACE mechanism off by default; Bazel 9 is planned to remove WORKSPACE functionality.

### Historique d'adoption

Bazel's adoption grew from Google's internal build culture into a public ecosystem of language rules, remote-cache servers, registries, CI tooling, and version managers. The official users page lists companies including Adobe, Asana, Canva, Databricks, Dropbox, Google, LinkedIn, Lyft, Nvidia, Pinterest, Snap, Stripe, Tinder, and Twitter.

Package-manager adoption reflects that cross-platform reach: the input records Bazel packages across Homebrew, Chocolatey, MacPorts, Nix, Arch, Scoop, winget, and zypper.

### Modes d'utilisation

A Bazel workspace defines BUILD files and targets, then users run bazel build, test, run, query, or cquery from the command line. Bazel analyzes dependencies into an action graph and executes only the actions needed for requested outputs.

For repeatable package-manager workflows, .bazelrc files matter: official docs document system, workspace, and user rc files, while Bazelisk and .bazelversion are often used to pin the Bazel version per repository.

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

Bazel is a package-nerd landmark because it made build tools behave more like content-addressed package systems: actions are keyed, cached, queried, remotely shared, and constrained toward hermetic reproducibility.

Its formula history is also interesting because current Homebrew carries both the moving bazel formula and versioned bazel@7 and bazel@8 formulas, acknowledging that Bazel upgrades can be migration events rather than ordinary patch bumps.

### Chronologie

- 2015-02: Public bazelbuild/bazel git history begins.
- 2019-10-10: Bazel 1.0 is released and the project starts semantic-versioned release stability windows.
- 2023-12-11: Bazel 7.0 LTS is released with Bzlmod, Build without the Bytes, and Skymeld enabled by default.
- 2024-12-09: Bazel 8.0 LTS is released with Bzlmod as the default dependency-management system and WORKSPACE disabled by default.
- 2026: The input's Homebrew formula metadata shows the unversioned bazel formula tracking the Bazel 9 line.

### Related projects

- Bazelisk is the companion launcher/version manager that selects and downloads the right Bazel binary for a workspace.
- bazel-remote provides a standalone remote cache for Bazel and other REAPI clients.
- bazel-diff computes impacted Bazel targets between Git revisions for CI test selection.
- Bazel Central Registry and Bzlmod form Bazel's modern module distribution layer.

### Sources

- <https://bazel.build/about/intro documents Bazel's build/test model, scale, caching, supported platforms, and command-line use.>
- <https://bazel.build/community/users documents public adopters.>
- <https://blog.bazel.build/2019/10/10/bazel-1.0.html documents the 1.0 release and semantic-versioning policy.>
- <https://blog.bazel.build/2023/12/11/bazel-7-release.html documents Bazel 7 defaults including Bzlmod.>
- <https://blog.bazel.build/2024/12/09/bazel-8-release.html documents Bazel 8, Bzlmod default dependency management, and WORKSPACE being off by default.>
- source_facts.package-manager records package-manager availability across ecosystems.


## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- generalized runtime or code generation signal


## 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: /etc/bazel.bazelrc, .bazelrc in the workspace directory, ~/.bazelrc
- Windows: %ProgramData%\bazel.bazelrc, %USERPROFILE%\.bazelrc, %HOME%/.bazelrc
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bazel
- **Aliases:** bazel@9
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** bazelisk
- **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

- Nix - bazel: normalized package name match | nixpkgs package indexes: bazel from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- pacman - bazel - 9.2.0-2: normalized package name match | Arch Linux sync databases: bazel from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Correct, reproducible, and fast builds for everyone | https://bazel.build/
- pacman - bazelisk - 1.29.0-1: normalized package name match | Arch Linux sync databases: bazelisk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A user-friendly launcher for Bazel. | https://github.com/bazelbuild/bazelisk
- zypper - bazel8 - 8.4.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: bazel8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool for the automation of building and testing of software | https://bazel.build/
- MacPorts - bazel: normalized package name match | MacPorts ports tree: devel/bazel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - bazel: normalized package name match | Chocolatey community package catalog: bazel from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','azurestorageemulator'
- Scoop - main/bazel: normalized package name match | Scoop official bucket manifest trees: bucket/bazel.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Bazel.Bazel: normalized package name match | Windows Package Manager source index: Bazel.Bazel from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk@21](https://pkg.so/fr/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [maven](https://pkg.so/fr/brew/maven/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [sbt](https://pkg.so/fr/brew/sbt/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [ant](https://pkg.so/fr/brew/ant/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [bear](https://pkg.so/fr/brew/bear/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [leiningen](https://pkg.so/fr/brew/leiningen/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [nx](https://pkg.so/fr/brew/nx/) - Shares pkgdb curated category or tags: build-tools, cli, developer-tools, monorepo.
- [maturin](https://pkg.so/fr/brew/maturin/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [rebar3](https://pkg.so/fr/brew/rebar3/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [bazel-diff](https://pkg.so/fr/brew/bazel-diff/) - Package names and metadata indicate a similar tool family. Shared terms: bazel, build, build-tool, build-tools, cli.
- [boot-clj](https://pkg.so/fr/brew/boot-clj/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tool, build-tools, cli, developer.
- [dub](https://pkg.so/fr/brew/dub/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tool, build-tools, cli, developer.

## Combined YAML source

View the package source record on GitHub. [combined/bazel.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bazel.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
