# bazelisk mit Homebrew, chocolatey, MacPorts, Nix, pacman, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für bazelisk in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install bazelisk
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bazelisk
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:bazelisk
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/bazelisk>
- **Version:** 1.29.0
- **Quellzusammenfassung:** User-friendly launcher for Bazel
- **Homepage:** <https://github.com/bazelbuild/bazelisk/>
- **Repository:** <https://github.com/bazelbuild/bazelisk>
- **Upstream-Dokumentation:** <https://github.com/bazelbuild/bazelisk#readme>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://github.com/bazelbuild/bazelisk/archive/refs/tags/v1.29.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-04-27T22:09:13Z
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- bazelisk (cli)
- bazelisk (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 1.29.0
- Manager aktualisiert: 2026-04-27
- lokale Daten: OK
- Upstream-Repository: https://github.com/bazelbuild/bazelisk
- neueste erkannte Version: v1.29.0 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- 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.


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- 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
## Details aus der Quelldatenbank

- **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

## Andere Paketmanager-Einträge

- 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


## Verwandte Links

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


## Quellen

- 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
