# bazelisk を Homebrew, chocolatey, MacPorts, Nix, pacman, scoop, winget でインストール

bazelisk のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:bazelisk
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install bazelisk
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bazelisk
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bazelisk
```

  証拠: nixpkgs package indexes: pkgs/by-name/ba/bazelisk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S bazelisk
```

  証拠: Arch Linux sync databases: bazelisk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install bazelisk
```

  証拠: Chocolatey community package catalog: bazelisk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','backupper-standard'

- Scoop (92%):

```sh
scoop install main/bazelisk
```

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

- winget (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:bazelisk
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/bazelisk>
- **バージョン:** 1.29.0
- **ソース概要:** User-friendly launcher for Bazel
- **ホームページ:** <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
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- bazelisk (cli)
- bazelisk (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.29.0
- マネージャ更新日: 2026-04-27
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/bazelbuild/bazelisk
- 検出された最新: v1.29.0 (最新)
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2018-09: Upstream git history starts with a Python bazelisk implementation.
- 2018-10: Early commits implement lookup of the latest Bazel release.
- 2020s: The README documents the maintained Go rewrite, .bazelversion and .bazeliskrc selection, fork support, verification, --migrate, and --bisect.
- 2020s: Package managers distribute Bazelisk as both bazelisk and bazel for drop-in Bazel launching.

### Related projects

- Bazel is the binary Bazelisk selects and executes.
- bazel@7 and bazel@8 are versioned package-manager alternatives, while Bazelisk lets a workspace choose those or newer upstream releases dynamically.
- bazel-diff and bazel-remote CI setups often benefit from Bazelisk because graph hashing and remote-cache behavior should use the workspace's intended Bazel version.

### ソース

- Upstream git history for https://github.com/bazelbuild/bazelisk starts in September 2018.
- <https://github.com/bazelbuild/bazelisk#readme documents Bazelisk's launcher purpose, Python-to-Go history, version selection, .bazelversion, .bazeliskrc, downloads, auth, --migrate, and --bisect.>
- source_facts.package-manager records cross-package-manager availability.


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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: $workspace/.bazeliskrc, $workspace/.bazelversion

## Credential files

- Unix: ~/.netrc
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bazelisk
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** bazel
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - bazelisk: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bazelisk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- 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
- MacPorts - bazelisk: normalized package name match | MacPorts ports tree: devel/bazelisk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - bazelisk: normalized package name match | Chocolatey community package catalog: bazelisk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','backupper-standard'
- Scoop - main/bazelisk: normalized package name match | Scoop official bucket manifest trees: bucket/bazelisk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Bazel.Bazelisk: normalized package name match | Windows Package Manager source index: Bazel.Bazelisk from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [bazel-diff](https://www.automicvault.com/ja/pkg/brew/bazel-diff/) - Shares av.db curated category or tags: bazel, cli, developer-tools.
- [bazel-remote](https://www.automicvault.com/ja/pkg/brew/bazel-remote/) - Shares av.db curated category or tags: bazel, cli, developer-tools.
- [buildifier](https://www.automicvault.com/ja/pkg/brew/buildifier/) - Shares av.db curated category or tags: bazel, cli, developer-tools.
- [buildozer](https://www.automicvault.com/ja/pkg/brew/buildozer/) - Shares av.db curated category or tags: bazel, cli, developer-tools.
- [dmenu](https://www.automicvault.com/ja/pkg/brew/dmenu/) - Shares av.db curated category or tags: cli, developer-tools, launcher.
- [gflags](https://www.automicvault.com/ja/pkg/brew/gflags/) - Shares av.db curated category or tags: bazel, cli, developer-tools.
- [ibazel](https://www.automicvault.com/ja/pkg/brew/ibazel/) - Shares av.db curated category or tags: bazel, cli, developer-tools.
- [python-launcher](https://www.automicvault.com/ja/pkg/brew/python-launcher/) - Shares av.db curated category or tags: cli, developer-tools, launcher.
- [oauth2c](https://www.automicvault.com/ja/pkg/brew/oauth2c/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, friendly, user.
- [vgrep](https://www.automicvault.com/ja/pkg/brew/vgrep/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, friendly, user.

## Combined YAML source

View the package source record on GitHub. [combined/bazelisk.yml](https://github.com/automic-vault/db/blob/main/combined/bazelisk.yml)


## ソース

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