macOS
brew install bazellocal Homebrew formula metadata
sudo port install bazelMacPorts ports tree · devel/bazel/Portfile · 来源: api.github.com
安装
brew install bazellocal Homebrew formula metadata
sudo port install bazelMacPorts ports tree · devel/bazel/Portfile · 来源: api.github.com
nix profile install nixpkgs#bazelnixpkgs package indexes · bazel · 来源: raw.githubusercontent.com
sudo pacman -S bazelArch Linux sync databases · bazel · 来源: geo.mirror.pkgbuild.com
sudo zypper install bazel8openSUSE Tumbleweed package metadata · bazel8 · 来源: download.opensuse.org
choco install bazelChocolatey community package catalog · bazel · 来源: community.chocolatey.org
scoop install main/bazelScoop official bucket manifest trees · bucket/bazel.json · 来源: api.github.com
winget install --id Bazel.Bazel -eWindows Package Manager source index · Bazel.Bazel · 来源: cdn.winget.microsoft.com
概览
Google's own build tool
历史
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.
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.
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.
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.
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/bazel.bazelrc.bazelrc in the workspace directory~/.bazelrc%ProgramData%\bazel.bazelrc%USERPROFILE%\.bazelrc%HOME%/.bazelrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bazel-9.1.0 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bazelbuild/bazel
安装元数据
| 软件包键 | brew:bazel |
|---|---|
| 版本 | 9.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bazel |
| 主页 | https://bazel.build/ |
| 仓库 | https://github.com/bazelbuild/bazel |
| 上游文档 | https://bazel.build/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/bazelbuild/bazel/releases/download/9.2.0/bazel-9.2.0-dist.zip |
| 最后更新 | 2026-07-14T02:14:10Z |
| Pulse | updated |
| 依赖 | openjdk@21 |
| macOS 提供的库 | unzip, zip |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 已定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bazel |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
bazel
nix profile install nixpkgs#bazelbazel 9.1.1-1
Correct, reproducible, and fast builds for everyone
sudo pacman -S bazelbazelisk 1.29.0-1
A user-friendly launcher for Bazel.
https://github.com/bazelbuild/bazelisk
sudo pacman -S bazeliskbazel8 8.4.1-1.3
Tool for the automation of building and testing of software
sudo zypper install bazel8bazel
sudo port install bazelbazel
choco install bazelmain/bazel
scoop install main/bazelBazel.Bazel
winget install --id Bazel.Bazel -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.