diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-07-26 07:38:14 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-26 07:39:33 -0700 |
commit | 7574865cc13cbe73ff8c1e959888d5d4426bb5ff (patch) | |
tree | dd205cc97a59316f1b13983dd1adb0d6a52d03ca /site/docs/install-windows.md | |
parent | 46f3524bf391d0d773a94962ccc5a2d023767a0b (diff) |
docs: update Windows installation and setup docs
Also update the Java Tutorial page to say you have
to install the JDK and set JAVA_HOME.
See https://github.com/bazelbuild/bazel/issues/5208
Change-Id: I14b792589c39f03572518aaff6f6f8e5ca8a65c8
Closes #5617.
Change-Id: I45c841189b0c220365ab9aeeb67f26b32059be4a
PiperOrigin-RevId: 206156529
Diffstat (limited to 'site/docs/install-windows.md')
-rw-r--r-- | site/docs/install-windows.md | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/site/docs/install-windows.md b/site/docs/install-windows.md index 3cfe8fc8b2..184fd58724 100644 --- a/site/docs/install-windows.md +++ b/site/docs/install-windows.md @@ -7,7 +7,7 @@ title: Installing Bazel on Windows ### Prerequisites -* 64 bit Windows 7 or newer, or <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx">equivalent Windows Server versions</a> +* 64 bit Windows 7 or newer, or 64 bit Windows Server 2008 R2 or newer * [MSYS2 shell](https://msys2.github.io/) @@ -17,31 +17,28 @@ title: Installing Bazel on Windows ### Getting Bazel -Download Bazel for Windows from our -[GitHub releases page](https://github.com/bazelbuild/bazel/releases). -Look for `bazel-<version>-windows-x86_64.exe`, e.g. `bazel-0.13.0-windows-x86_64.exe`. +[Download Bazel for Windows from GitHub](https://github.com/bazelbuild/bazel/releases). +Look for `bazel-<version>-windows-x86_64.exe`, e.g. `bazel-0.15.2-windows-x86_64.exe`. -**Tip:** For convenience, rename the downloaded binary to `bazel.exe` and move it to a directory -that's on your `%PATH%` or add its directory to your `%PATH%`. This way you can run Bazel by -typing `bazel` in any directory, without typing out the full path. +**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 -You can also get Bazel by: - -* [Installing Bazel using Chocolatey](#install-using-chocolatey) -* [Compiling Bazel from source](install-compile-source.html) +* [Install Bazel using the Chocolatey package manager](#install-using-chocolatey) +* [Compile Bazel from source](install-compile-source.html) #### Install using Chocolatey -You can install the Bazel package using the [Chocolatey](https://chocolatey.org) -package manager: +1. Install the [Chocolatey](https://chocolatey.org) package manager + +2. Install the Bazel package: - choco install bazel + 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. + 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](https://bazel.build/windows-chocolatey-maintenance.html) for more |