Bazel
bazel.build
- Free plan
- Windows
- macOS
- Linux
What Bazel is
Bazel is a free, open-source tool for automating software builds and tests across languages and platforms. Projects define targets in BUILD files using Starlark, which can also be used for custom rules and macros. Bazel caches previous work and rebuilds what needs to change, while supporting parallel execution. It supports languages including C++, Java, Kotlin, Python, Go, and Rust, with outputs for desktop, server, Android, and iOS. It runs on Linux, macOS, and Windows. Sandboxing can make builds and tests more hermetic, and non-zero exit codes on failures support basic CI integration. Teams and continuous integration systems can share outputs using a remote cache, but must choose and maintain the backend and secure access because it can contain binaries. Listed IDE options include plugins for IntelliJ, Android Studio, CLion, and Visual Studio Code, along with Xcode integration. Bazel is suited to large codebases, multiple compiled languages, multi-platform deployments, and extensive test suites. Its FAQ says it is not well suited to operations whose outputs should not be cached, such as deployment steps that change cloud configuration.
Who it suits
Bazel suits teams working with large codebases, multiple compiled languages, multi-platform deployments, or extensive tests. It is a poor fit for uncached operations such as deployment steps that change cloud configuration.
Good to know, and what to watch
- Free and open source.
- Reuses cached work and supports parallel builds.
- Supports multiple languages and desktop, server, and mobile targets.
- Sandboxing can support more hermetic builds and tests.
- IDE integrations include IntelliJ and Visual Studio Code.
- Remote cache requires a chosen and maintained backend.
- Remote cache access must be secured because it may contain binaries.
- Not well suited to uncached deployment operations.
Plans
Every plan and priceBazel
Free plan
The verdict
Bazel offers build caching, parallel execution, and multi-platform support for demanding software projects. Teams using remote caching need to maintain its backend and secure write access.
What the maker publishes
- Build language
- Projects define build targets in BUILD files using Starlark, a domain-specific language. source
- Caching
- Teams and continuous integration systems can share build outputs through a remote cache, which requires a separately chosen and maintained backend server. source
- CI integration
- Bazel returns a non-zero exit code when a build or test invocation fails, supporting basic CI integration. source
- Extensibility
- Users can write custom Bazel rules and macros in Starlark, a language that is a subset of Python. source
- Governance
- The Bazel project is led and managed by Google, with contributors and some community-managed components. source
- IDE integrations
- The official IDE integration page lists plugins for IntelliJ, Android Studio, CLion, and Visual Studio Code, plus integration options for Xcode. source
- Incremental builds
- Bazel caches previous work and rebuilds only what needs to change. source
- Install method
- Bazelisk is the recommended installation method for Ubuntu Linux, macOS, and Windows. source
- Intended projects
- Bazel is especially suited to large codebases, projects using multiple compiled languages, multi-platform deployments, and projects with extensive tests. source
- Languages
- Bazel supports languages including C++, Java, Kotlin, Python, Go, and Rust. source
- Languages and platforms
- Bazel supports multiple languages and can build outputs for multiple platforms, including desktop, server, and mobile. source
- Maker
- Google identifies Bazel as its own build tool. source
- Mobile targets
- Bazel can build software for Android and iOS. source
- Notable limitation
- The FAQ says Bazel is not well suited to build operations whose outputs should not be cached, such as deployment steps that change cloud configuration. source
- Package support limits
- The installation page says packages for several distributions and package managers are community-supported and not officially supported by the Bazel team. source
- Parallel execution
- Bazel can run builds in a highly parallel and incremental fashion. source
- Parallel execution
- Bazel can run build commands in parallel on the same computer or on remote build nodes. source
- Purpose
- Bazel is an open-source tool that automates software builds and tests. source
- Reproducibility
- Bazel can run builds and tests hermetically through sandboxing to minimize skew and improve reproducibility. source
- Scale
- The documentation says Bazel can handle builds with 100,000 or more source files and work across multiple repositories. source
- Security consideration
- The remote cache can contain binaries, so the documentation says it needs to be secured and advises limiting who can write to it. source
- Security-related feature
- Bazel actions can run in individual sandboxes, and builds can be configured to run hermetically. source
- Support
- The documentation points users to community support channels including Slack and Stack Overflow, as well as an issue tracker. source
- Support
- The project directs users to its discussion group, GitHub issue tracker, Slack, and Stack Overflow. source
Checked against the maker's pages on 30 Sept 2026.