Automic VaultAutomic Vault

brew

Install bazel with Homebrew, chocolatey, MacPorts, Nix, pacman, scoop, winget, zypper

Google's own build tool. Version 9.1.1 via Homebrew; verified 2026-06-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bazel

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install bazel

MacPorts ports tree · devel/bazel/Portfile · source: api.github.com

Windows

Chocolateyverified · 92%
choco install bazel

Chocolatey community package catalog · bazel · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/bazel

Scoop official bucket manifest trees · bucket/bazel.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Bazel.Bazel -e

Windows Package Manager source index · Bazel.Bazel · source: cdn.winget.microsoft.com

overview

Package summary

Google's own build tool

Commands and aliases

  • bazel-9.1.0

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:build tool

Install behavior

  • Homebrew declares a post-install hook for this formula.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/bazel.bazelrc.bazelrc in the workspace directory~/.bazelrc
Windows
%ProgramData%\bazel.bazelrc%USERPROFILE%\.bazelrc%HOME%/.bazelrc

executables

Installed executables

CommandKindExposureNote
bazel-9.1.0cliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version9.1.1
manager updated2026-06-03
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/bazelbuild/bazel

install metadata

Package metadata

Package keybrew:bazel
Version9.1.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bazel
Homepagehttps://bazel.build/
Repositoryhttps://github.com/bazelbuild/bazel
Upstream docshttps://bazel.build/
LicenseApache-2.0
Source archivehttps://github.com/bazelbuild/bazel/releases/download/9.1.1/bazel-9.1.1-dist.zip
Last updated2026-06-03T22:54:00Z
Pulseupdated
Dependenciesopenjdk@21
Uses from macOSunzip, zip
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installdefined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebazel
Aliases
  • bazel@9
Version Scheme0
Revision0
Conflicts With
  • bazelisk
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

bazel

nix profile install nixpkgs#bazel
  • normalized package name match
  • Matched by: Bazel
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: bazel from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman95%

bazel 9.1.1-1

Correct, reproducible, and fast builds for everyone

https://bazel.build/

sudo pacman -S bazel
  • License: Apache-2.0
  • Architecture: x86_64
  • 5 dependencies
  • normalized package name match
  • Matched by: Bazel
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bazel from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
pacman95%

bazelisk 1.29.0-1

A user-friendly launcher for Bazel.

https://github.com/bazelbuild/bazelisk

sudo pacman -S bazelisk
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bazel
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bazelisk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

bazel8 8.4.1-1.3

Tool for the automation of building and testing of software

https://bazel.build/

sudo zypper install bazel8
  • License: Apache-2.0 AND BSD-3-Clause AND MIT AND GPL-2.0-or-later AND BSD-2-Clause AND Python-2.0 AND Zlib AND BSL-1.0
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: bazel8
  • 7 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Bazel
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bazel8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

bazel

sudo port install bazel
  • normalized package name match
  • Matched by: Bazel
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/bazel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

bazel

choco install bazel
  • normalized package name match
  • Matched by: Bazel
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: bazel from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','backupper-standard'
Scoop95%

main/bazel

scoop install main/bazel
  • normalized package name match
  • Matched by: Bazel
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/bazel.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Bazel.Bazel

winget install --id Bazel.Bazel -e
  • normalized package name match
  • Matched by: Bazel
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Bazel.Bazel from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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