Getting started
Jump into Bazel with our installation packages, tutorials, and concept guides.
Install Bazel
Find and download Bazel packages and instructions for supported platforms.
Overview
Bazelisk (recommended)
MacOS
Windows
Fedora and CentOS
Ubuntu
openSUSE
Docker Container
Compile from source
Command-line completion
IDE integration
Build concepts
Learn foundational concepts including source code layout, BUILD file syntax, and the types of rules and dependencies.
Workspaces, packages, & targets
The essential building blocks of Bazel.
Labels
How to specify and connect workspaces, packages, and targets.
BUILD files
The configuration file telling Bazel what and how to build.
Dependencies
A directed edge between two targets.
Visibility
Defines whether a target can be depended upon by other targets.
Hermeticity
Builds with no external influences for deterministic and correct results.