Skip to main content

Bazel Tutorial

This tutorial is available as a training course, instructed by Alex Eagle, Aspect's co-founder and Bazel community expert.

To sign up, see

At each step of the tutorial, you'll try some exercises to get a hands-on experience. You can pick whether you're most comfortable in Java, Python, Go, or JavaScript.

If you get stuck, don't worry! You can just git reset to the next milestone to catch up with the rest of the class.

  1. Introduction to Bazel (15m)
  2. Introducing the Codelabs repository (20m)
  3. Fetching External Dependencies (35m)

-- break (10m) --

  1. Structuring a Monorepo with Packages (35m)
  2. Requesting Build Outputs (20m)
  3. Running Tests with Bazel (30m)

-- break (10m) --

  1. Continuous Integration and Delivery (20m)
  2. Rules and Macros (15m)
  3. Migrating to Bazel (15m)
  4. Tuning and Operating your Bazel Deployment (15m)

After completing the training, please fill out our survey: