blob: af69f4053c55eb6990a2f4c999648c0b6b5fa128 [file] [log] [blame] [view]
Googler1fbef392017-03-22 09:05:09 +00001---
2layout: documentation
3title: Installing Bazel on Windows
4---
5
6# <a name="windows"></a>Install Bazel on Windows
7
8Windows support is highly experimental. Known issues are [marked with
9label "Windows"](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+is%3Aopen+label%3A%22category%3A+multi-platform+%3E+windows%22)
10on GitHub issues.
11
12We currently support only 64 bit Windows 7 or higher and we compile Bazel as a
13MSYS2 binary.
14
15Install Bazel on Windows using one of the following methods:
16
17 * [Use Chocolatey](#install-on-windows-chocolatey)
18 * [Use the binary distribution](#download-binary-windows)
19 * [Compile Bazel from source](install-compile-source.md) -- make sure
20 your machine meets the [requirements](windows.md#requirements)
21
22
23## <a name="install-on-windows-chocolatey"></a>Install using Chocolatey
24
25You can install the unofficial package using the
26[chocolatey](https://chocolatey.org) package manager:
27
28```sh
29choco install bazel
30```
31
32This will install the latest available version of bazel, and dependencies.
33
34This package is experimental; please provide feedback to `@petemounce` in GitHub
35issue tracker. See the [Chocolatey installation and package
36maintenance](windows-chocolatey-maintenance.md) guide for more information.
37
38
39## <a name="download-binary-windows"></a>Install using the binary distribution
40
41We provide binary versions on our
42<a href="https://github.com/bazelbuild/bazel/releases">GitHub releases page</a>
43
44This is merely the Bazel binary. You'll need additional software (e.g. msys2
45shell of the right version) and some setup in your environment to run Bazel.
46See these requirements on our [Windows page](windows.md#requirements).