Documentation

Edit

Install Bazel on Windows

Bazel runs on 64 bit Windows 7 or higher.

Known issues are marked with label "Windows" on GitHub issues.

To run Bazel on Windows, make sure your system meets the requirements.

You can get Bazel for Windows using one of the following methods:

  • Download the binary distribution (recommended).

    We provide binary versions on our GitHub releases page.

    The installer contains only the Bazel binary. You'll need additional software (e.g. msys2 shell) and some setup in your environment to run Bazel. You can find these on the Windows requirements page.

  • Use Chocolatey.

    You can install the Bazel package using the Chocolatey package manager:

    choco install bazel
    

    This command will install the latest available version of Bazel and most of its dependencies, such as the msys2 shell. This will not install Visual C++ though.

    See Chocolatey installation and package maintenance guide for more information about the Chocolatey package.

  • Compile Bazel from source.

Next: see Using Bazel on Windows