🍺 BREW Explorer

← all formulae

bazelisk

brew install bazelisk v1.29.0 Apache-2.0

Go-based wrapper and version manager for Bazel that automatically downloads and runs the right Bazel version per project.

Why you might care

Eliminates version mismatch headaches across projects by automatically selecting the correct Bazel version (similar to nvm for Node.js). Drop-in replacement for the `bazel` command that handles downloading compatible versions transparently. Essential if your monorepo or team uses multiple Bazel versions simultaneously.

Categories

Alternatives

bazel
3.8k
30-day installs · #711
13.2k
90-day · #697
46.0k
365-day · #719
2.6k
★ GitHub stars · updated 6d ago

Build dependencies

go

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "bazel"
  ],
  "build_dependencies": [
    "go"
  ],
  "categories": [
    "build-system",
    "version-control"
  ],
  "caveats": null,
  "conflicts_with": [
    "bazel"
  ],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "User-friendly launcher for Bazel",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:47+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bazelisk",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-15T04:02:42Z",
  "github_readme_excerpt": "# Bazelisk\n\n**A user-friendly launcher for Bazel.**\n\n## About Bazelisk\n\nBazelisk is a wrapper for Bazel written in Go.\nIt automatically picks a good version of Bazel given your current working directory, downloads it from the official server (if required) and then transparently passes through all command-line arguments to the real Bazel binary.\nYou can call it just like you would call Bazel.\n\n## Installation\n\nOn macOS: `brew install bazelisk`.\n\nOn Windows: `winget install Bazel.Bazelisk`, `choco install bazelisk`, or `scoop install bazelisk`.\n\nEach adds bazelisk to the `PATH` as both `bazelisk` and `bazel`.\n\nOn Linux: You can download Bazelisk binary on our [Releases](https://github.com/bazelbuild/bazelisk/releases) page and add it to your `PATH` manually, which also works on macOS and Windows.\n\nBazelisk is also published to npm.\nFrontend developers may want to install it with `npm install -g @bazel/bazelisk`.\n\n\u003e You will notice that it serves an analogous function for Bazel as the\n\u003e [`nvm` utility](https://github.com/nvm-sh/nvm) which manages your version of Node.js.\n\nOn Linux/macOS you can also [mise](https://github.com/jdx/mise) the polyglot tools version manager with a command like `mise use -g bazelisk@latest`\n\nSome ideas how to use it:\n- Install it as the `bazel` binary in your `PATH` (e.g. copy it to `/usr/local/bin/bazel`).\n  Never worry about upgrading Bazel to the latest version again.\n- Check it into your repository and recommend users to build your software via `./bazelisk build //my:software`.\n  That way, even someone who has never used Bazel or doesn\u0027t have it installed can build your software.\n- As a company using Bazel or as a project owner, add a `.bazelversion` file to your repository.\n  This will tell Bazelisk to use the exact version specified in the file when running in your workspace.\n  The fact that it\u0027s versioned inside your repository will then allow for atomic upgrades of Bazel including all necessary changes.\n  If you install Bazelisk as `",
  "github_repo": "bazelbuild/bazelisk",
  "github_stars": 2635,
  "github_topics": [],
  "homepage": "https://github.com/bazelbuild/bazelisk/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 3843,
  "installs_365d": 46000,
  "installs_90d": 13174,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:46:34+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "bazelisk",
  "oldnames": [],
  "one_liner": "Go-based wrapper and version manager for Bazel that automatically downloads and runs the right Bazel version per project.",
  "optional_dependencies": [],
  "rank_30d": 711,
  "rank_365d": 719,
  "rank_90d": 697,
  "raw_hash": "7213f4efc0ebe1e7",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bazelisk.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.29.0",
  "versioned_formulae": [],
  "why_use_this": "Eliminates version mismatch headaches across projects by automatically selecting the correct Bazel version (similar to nvm for Node.js). Drop-in replacement for the `bazel` command that handles downloading compatible versions transparently. Essential if your monorepo or team uses multiple Bazel versions simultaneously."
}