← Package directory
Available on winget

Install Bazel

a fast, scalable, multi-language and extensible build system

Install with winget
winget install --id Bazel.Bazel
Upgrade
winget upgrade --id Bazel.Bazel
Uninstall
winget uninstall --id Bazel.Bazel

About Bazel

a fast, scalable, multi-language and extensible build system

What's new in 9.1.0

Release 9.1.0 (2026-04-20) Release Notes: Configurability: - package_group now supports labels with external repositories in the packages attribute. (#28893) ExternalDeps: - The compatibility_level and max_compatibility_level attributes of module in MODULE.bazel are now no-ops. Module maintainers should stop specifying those attributes and provide clear build time error messages and actionable migration paths when making major breaking changes. (#28616) - rctx.symlink now implicitly watches the target if it falls back to a copy. (#28741) - The local and remote repo contents cache now include the host OS and CPU architecture in the cache key. (#29195) - The remote repo contents cache now supports all reproducible repo rules. (#29225) - Fix launcher/launcher_maker for cross build, e.g. build windows binary on linux machine. (#29239) Remote-Exec: - The requires-worker-protocol execution requirement is now forwarded to remote execution services as a platform property (persistentWorkerProtocol) to support intermixing JSON and Proto remote persistent worker protocols across a build. (#28710) - Bazel now has experimental support for --rewind_lost_inputs, which can rerun actions within a single build to recover from (remote or disk) cache evictions. (#28958) - Added --experimental_remote_cache_chunking flag to read and write large blobs to/from the remote cache in chunks. Requires server support. (#28903) Starlark-Interpreter: - [Incompatible] string.splitlines() no longer incorrectly treats u+0085 (NEL) as a newline character (#28931) Acknowledgements: This release contains contri...

Read release notes

Version history

Version Updated Notes
9.1.0 Unknown Release 9.1.0 (2026-04-20) Release Notes: Configurability: - package_group now supports labels with external repositories in the packages attribute. (#28893) ExternalDeps: - The compatibility_level and max_compatibility_...
9.0.2 Unknown Release 9.0.2 (2026-04-09) Release Notes: Configurability: - Allow platform-specific startup bazelrc flags (https://github.com/baz… (#29251) ExternalDeps: - Include rctx.os.{name,arch} in the pre declared inputs hash (#2...
9.0.1 Unknown Release 9.0.1 (2026-03-10) Release Notes: CLI: - Add a new optional param to fail() to allow pretty-printing user erro… (#28817) Configurability: - Fix NPE caused by --repo_env with no value set (#28606) (#28640) - Fix v...
9.0.0 Unknown Release 9.0.0 (2026-01-20) Release Notes: Configurability: - The new attr.label_list_dict type accepts a dict in which keys are strings and values are lists of labels. (#27550) - The new package_relative_label function o...
8.7.0 Unknown Release 8.7.0 (2026-05-07) Release Notes: Notice: Bazel installers contain binaries licensed under the GPLv2 with Classpath exception. Those installers should always be redistributed along with the source code. Some vers...
8.6.0 Unknown Release 8.6.0 (2026-02-26) Release Notes: Configurability: - Reporting of cached test results can now be suppressed with --test_summary=short_uncached or --test_summary=detailed_uncached. (#28343) - ctx.actions.symlink n...
8.5.1 Unknown Note If you are looking for rolling releases, please visit this page. Release 8.5.1 (2026-01-12) Bazel 8.5.1 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Baz...
8.5.0 Unknown Release 8.5.0 (2025-12-11) Release Notes: Configurability: - The new ctx.configuration.short_id field provides a short identifier for the current configuration that is understood by bazel config. (#27128) - The --module_...
8.4.2 Unknown Note If you are looking for rolling releases, please visit this page. Release 8.4.2 (2025-10-01) Bazel 8.4.2 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Baz...
8.4.1 Unknown Release 8.4.1 (2025-09-11) Release Notes: ExternalDeps: - Speculative fix for repo contents cache race (#26950) General: - Release 8.4.0 (2025-09-04) - Release 8.4.1 (2025-09-11) OSS: - Update MODULE.bazel and .bazelvers...
8.4.0 Unknown Release 8.4.0 (2025-09-04) Release Notes: Android: - Add better defaults for mobile-install flags (#26388) Configurability: - Added --incompatible_compact_repo_mapping_manifest, which causes the repo mapping manifest fil...
8.3.1 Unknown Release 8.3.1 (2025-06-30) Release Notes: Configurability: - Remove the "overwrote runfiles" warning (#26374) ExternalDeps: - Fix hang with force fetching + repo contents cache (#26412) General: - Release 8.3.0 (2025-06-...
8.3.0 Unknown Release 8.3.0 (2025-06-23) Release Notes: ExternalDeps: - source.json now supports a new attribute mirror_urls as backup URLs for the source archive. (#25937) - repository_ctx.download_and_extract now supports the .whl f...
8.2.1 Unknown Note If you are looking for rolling releases, please visit this page. Release 8.2.1 (2025-04-17) Bazel 8.2.1 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Baz...
8.1.1 Unknown Note If you are looking for rolling releases, please visit this page. Release 8.1.1 (2025-02-25) Bazel 8.1.1 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Baz...
8.1.0 Unknown Note If you are looking for rolling releases, please visit this page. Release 8.1.0 (2025-02-13) Bazel 8.1.0 is a minor LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Baz...
7.7.1 Unknown Note If you are looking for rolling releases, please visit this page. Release 7.7.1 (2025-11-12) Bazel 7.7.1 is a patch LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Baz...
7.7.0 Unknown Release 7.7.0 (2025-10-30) Release Notes: Configurability: - The new ctx.configuration.short_id field provides a short identifier for the current configuration that is understood by bazel config. (#27219) ExternalDeps: -...
7.6.2 Unknown Release 7.6.2 (2025-10-08) Release Notes: General: - Release 7.6.1 (2025-03-31) - Release 7.6.2 (2025-10-08) OSS: - Fixes for macOS compatibility (#27160) - Update the .bazelversion (#27167) Acknowledgements: This releas...
7.3.1 Unknown No notes