macOS
brew install bazelisklocal Homebrew formula metadata
sudo port install bazeliskMacPorts ports tree · devel/bazelisk/Portfile · 来源: api.github.com
安装
brew install bazelisklocal Homebrew formula metadata
sudo port install bazeliskMacPorts ports tree · devel/bazelisk/Portfile · 来源: api.github.com
nix profile install nixpkgs#bazelisknixpkgs package indexes · pkgs/by-name/ba/bazelisk/package.nix · 来源: api.github.com
sudo pacman -S bazeliskArch Linux sync databases · bazelisk · 来源: geo.mirror.pkgbuild.com
choco install bazeliskChocolatey community package catalog · bazelisk · 来源: community.chocolatey.org
scoop install main/bazeliskScoop official bucket manifest trees · bucket/bazelisk.json · 来源: api.github.com
winget install --id Bazel.Bazelisk -eWindows Package Manager source index · Bazel.Bazelisk · 来源: cdn.winget.microsoft.com
概览
User-friendly launcher for Bazel
历史
Bazelisk is the Bazel launcher and version manager that makes Bazel behave like a repo-pinned toolchain: it chooses, downloads, verifies, and runs the Bazel version requested by the current workspace.
The bazelbuild/bazelisk repository begins in September 2018 with a Python script, and the README notes that Bazelisk was later rewritten in Go. The maintained Go version is now the documented implementation.
Bazelisk's core model is intentionally simple: it can be invoked as bazel or bazelisk, reads USE_BAZEL_VERSION, .bazeliskrc, .bazelversion, or fallback settings, downloads official Bazel releases or forked releases, then passes arguments through to the selected Bazel binary.
Bazelisk became common because Bazel workspaces are sensitive to major-version changes, incompatible flags, and migration timing. A checked-in .bazelversion lets teams upgrade Bazel atomically with the source changes needed for that upgrade.
The input records Bazelisk packaging across Homebrew, Chocolatey, MacPorts, Nix, Arch, Scoop, winget, and zypper, and the README also documents npm distribution for frontend developers.
Developers install Bazelisk as bazel on PATH, check a .bazelversion file into the repository, and let Bazelisk download and run the matching Bazel binary on laptops and CI.
Advanced workflows use .bazeliskrc and environment variables for custom release mirrors, SHA256 verification, forked Bazel releases, GitHub tokens, migration runs, bisecting Bazel versions, and wrapper scripts under tools/bazel.
Bazelisk is package-nerd significant because it separates the package-manager-installed launcher from the project-selected compiler/build-tool version, similar in spirit to nvm-style runtime management.
It is also the practical glue that makes versioned Bazel formulas less painful: repositories can declare their expected Bazel line while users keep one stable launcher installed.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
$workspace/.bazeliskrc$workspace/.bazelversionCredential-bearing paths to review before unattended agent runs.
~/.netrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bazelisk | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bazelbuild/bazelisk
安装元数据
| 软件包键 | brew:bazelisk |
|---|---|
| 版本 | 1.29.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bazelisk |
| 主页 | https://github.com/bazelbuild/bazelisk/ |
| 仓库 | https://github.com/bazelbuild/bazelisk |
| 上游文档 | https://github.com/bazelbuild/bazelisk#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/bazelbuild/bazelisk/archive/refs/tags/v1.29.0.tar.gz |
| 最后更新 | 2026-04-27T22:09:13Z |
| Pulse | updated |
| 构建依赖 | go |
| 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 | bazelisk |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
bazelisk
nix profile install nixpkgs#bazeliskbazelisk 1.29.0-1
A user-friendly launcher for Bazel.
https://github.com/bazelbuild/bazelisk
sudo pacman -S bazeliskbazelisk
sudo port install bazeliskbazelisk
choco install bazeliskmain/bazelisk
scoop install main/bazeliskBazel.Bazelisk
winget install --id Bazel.Bazelisk -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.