Installing Bazel on Windows
64 bit Windows 7 or newer, or 64 bit Windows Server 2008 R2 or newer
Microsoft Visual C++ Redistributable for Visual Studio 2015
These are common DLLs that Bazel needs. You may already have them installed.
Download Bazel for Windows from GitHub.
Tip: Rename the binary to
bazel.exe and move it to a directory on your
%PATH%, so you can run Bazel by typing
bazel in any directory.
Other ways to get Bazel
Install using Chocolatey
Install the Chocolatey package manager
Install the Bazel package:
choco install bazel
This command will install the latest available version of Bazel and 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.