Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, apk, chocolatey, MacPorts, pacman, scoop, winget, zypper 安装 bazel@7

查看 bazel@7 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bazel@7

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install bazel

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

Linux

Nix已验证 · 92%
nix profile install nixpkgs#bazel_7

nixpkgs package indexes · pkgs/by-name/ba/bazel_7/package.nix · 来源: api.github.com

Alpine Linux apk已验证 · 92%
sudo apk add bazel7

Alpine Linux edge package indexes · bazel7 · 来源: dl-cdn.alpinelinux.org

Arch Linux pacman已验证 · 92%
sudo pacman -S bazel

Arch Linux sync databases · bazel · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install bazel8

openSUSE Tumbleweed package metadata · bazel8 · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install bazel

Chocolatey community package catalog · bazel · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/bazel

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

Windows Package Manager已验证 · 92%
winget install --id Bazel.Bazel -e

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

概览

软件包摘要

Google's own build tool

命令和别名

  • bazel
  • bazel-7.7.1

历史

项目历史与用法

bazel@7 packages the Bazel 7 long-term-support line, a major transition release where Bzlmod became enabled by default while legacy WORKSPACE support still remained available.

项目历史

Bazel 7.0 LTS was released on December 11, 2023. The official release post describes several multi-year efforts landing together: Bzlmod, Build without the Bytes, Skymeld, and platform-based toolchain resolution for bundled Android and C++ rules.

For package users, the key historical point is that Bazel 7 made Bzlmod default while still allowing old WORKSPACE-based dependency setup to continue. That made Bazel 7 a bridge release for repositories preparing for the stricter Bazel 8 and Bazel 9 migration path.

采用历史

Versioned bazel@7 packaging exists because many Bazel users pin major versions while migrating rulesets, WORKSPACE macros, .bazelrc flags, and CI images.

The input records bazel@7 across Homebrew, Alpine, Nix, and other package managers, showing the release line remained useful after newer Bazel versions shipped.

使用方式

Users install bazel@7 when a workspace or CI fleet is standardized on the Bazel 7 LTS series, often alongside .bazelversion or Bazelisk so local and CI invocations agree.

Bazel 7 users commonly exercise Bzlmod migration while retaining WORKSPACE compatibility, then use the versioned docs and bazelrc docs to control flags during migration.

为什么软件包爱好者会关心

bazel@7 is significant because it captures a rare package-manager case where the older major version is not just legacy: it is the compatibility runway for a build-system ecosystem migration.

It also marks the period when Bazel's module system moved from opt-in experimentation to the default path for external dependency management.

时间线

  • 2023-12-11: Bazel 7.0 LTS is released.
  • 2023-12: Bzlmod, Build without the Bytes, and Skymeld are enabled by default in Bazel 7.
  • 2024: Bazel 7 remains the compatibility line before Bazel 8 disables WORKSPACE by default.
  • 2026: The input's Homebrew metadata shows bazel@7 still packaged as a versioned formula with Bazel 7.7.x executables.

Related projects

  • Bazelisk can select Bazel 7 from .bazelversion or USE_BAZEL_VERSION, making it a common companion to bazel@7.
  • Bazel Central Registry and Bzlmod are central to the Bazel 7 adoption story.
  • bazel-remote and bazel-diff remain adjacent CI tools for Bazel 7 workspaces.

安全态势

尚未找到受保护工具覆盖

没有找到 bazel@7 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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$workspace/.bazelrc~/.bazelrc
Windows
%ProgramData%\bazel.bazelrc%USERPROFILE%\.bazelrc%HOME%/.bazelrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bazelcli全局可执行文件
bazel-7.7.1cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本7.7.1
管理器更新时间2026-05-23
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/bazelbuild/bazel

安装元数据

软件包元数据

软件包键brew:bazel@7
版本7.7.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bazel@7
主页https://bazel.build/
仓库https://github.com/bazelbuild/bazel
上游文档https://bazel.build/versions/7.7.0/docs
许可证Apache-2.0
源码归档https://github.com/bazelbuild/bazel/releases/download/7.7.1/bazel-7.7.1-dist.zip
最后更新2026-05-23T15:08:23-04:00
Pulseupdated
依赖openjdk@21
macOS 提供的库unzip, zip
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install已定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebazel@7
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

bazel_7

nix profile install nixpkgs#bazel_7
  • normalized package name match
  • 匹配方式:Bazel 7
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bazel_7/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts94%

bazel

sudo port install bazel
  • installed executable or alias match
  • 匹配方式: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
Nix92%

bazel

nix profile install nixpkgs#bazel
  • installed executable or alias match
  • 匹配方式: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
apk92%

bazel7 7.7.1-r0

Bazel is an open-source build and test tool

https://bazel.build/

sudo apk add bazel7
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: bazel7
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Bazel7
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bazel7 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

bazel7-bash-completion 7.7.1-r0

Bash completions for bazel7

https://bazel.build/

sudo apk add bazel7-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: bazel7
  • package manager index match
  • 匹配方式:Bazel7
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bazel7-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman92%

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 依赖
  • installed executable or alias match
  • 匹配方式: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
pacman92%

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 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式: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
zypper92%

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 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式: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
Chocolatey92%

bazel

choco install bazel
  • installed executable or alias match
  • 匹配方式: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'
Scoop92%

main/bazel

scoop install main/bazel
  • installed executable or alias match
  • 匹配方式: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
winget92%

Bazel.Bazel

winget install --id Bazel.Bazel -e
  • installed executable or alias match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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