Project: /_project.yaml Book: /_book.yaml

Getting Started with Bazel

This page contains resources that help you get started with Bazel, including installation steps and container information. It also provides links to tutorials and migration guides.

If you have not already done so, first read the Bazel Overview.

Installation {:#installation}

To install Bazel, see Installing Bazel. If you use Windows, please read also Using Bazel on Windows.

You might also want to integrate Bazel with your IDE.

Bazel container {:#bazel-container}

To try out Bazel inside a Docker{: .external} container, check out our public Ubuntu Linux (16.04) based Bazel container in Google Cloud Marketplace{: .external}.

To get started with the Bazel container, check out Getting started with Bazel Docker Container.

Tutorials {:#tutorials}

To get hands-on with Bazel and understand its core concepts, complete a tutorial:

If you are unsure of how Workspace, Packages, Targets and Rules relate to each other, see Workspaces, packages, and targets.

Once you are familiar with the basics, you can try the rules for other languages.

Migration {:#migration}

To learn how to migrate your project to Bazel, see the appropriate migration guide:

Reference {:#reference}

To further explore Bazel, refer to the following resources: