Coding

Bazel – build and test your multi-language, multi-platform projects

Last Updated on March 7, 2026

Bazel is a software tool used for the automation of building and testing software. It’s a flavor of the tool that Google uses to build its server software internally.

Supported build tasks include running compilers and linkers to produce executable programs and libraries, and assembling deployable packages for Android, iOS and other target environments. Bazel is similar to other tools like Make, Ant, Gradle, Buck, Pants and Maven.

This is free and open source software.

Key Features

  • Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds. Projects are described in the BUILD language, a concise text format that describes a project as sets of small interconnected libraries, binaries and tests.
  • One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and others . It can be extended to support arbitrary programming languages.
  • Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
  • Reproducibility: In BUILD files, each library, test and binary must specify its direct dependencies completely.
  • Extensible to your needs: Easily add support for new languages and platforms with Bazel’s familiar extension language. Share and re-use language rules written by the growing Bazel community.
  • Cross-platform support – runs under Linux, macOS, and Windows.

Website: bazel.build
Support: GitHub Code Repository
Developer: Google
License: Apache License 2.0

Bazel is written in Java. Learn Java with our recommended free books and free tutorials.


Related Software

Build Systems
CargoRust package manager
gulpToolkit to automate & enhance your workflow
BazelBuild and test your multi-language, multi-platform projects
Apache MavenBuild automation tool used primarily for Java projects
GradleBuild tool with a focus on build automation and support for multi-language
MesonNext-generation build system
CMakeFamily of tools designed to build, test and package software
Buck2Encourages the creation of small, reusable modules
LeiningenAutomating Clojure projects
GruntJavaScript Task Runner
NinjaSmall build system with a focus on speed
xmakeCross-platform build utility based on Lua
SConsSoftware construction tool
PantsScalable build system for monorepos
PHingBuild system based on Apache Ant
Rakemake-like build utility for Ruby
Apache AntTool for automating software build processes
CabalCommon Architecture for Building Applications and Libraries

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments