diff options
author | Googler <noreply@google.com> | 2017-10-26 20:34:56 +0200 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2017-10-27 16:29:31 +0200 |
commit | 67deac4e0dc1d65012cfba4f41ccbfe246306421 (patch) | |
tree | 3b6ddde766310894f391cfd0457cd215b3d14e8c /site/docs/install-os-x.md | |
parent | 61c0da151490544d02628199e9d90687c7dbef86 (diff) |
Replace version numbers for Bazel installers with "<version>" (because this will change often)
RELNOTES: Replace version numbers for Bazel installers with "<version>" (because this will change often)
PiperOrigin-RevId: 173566716
Diffstat (limited to 'site/docs/install-os-x.md')
-rw-r--r-- | site/docs/install-os-x.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/site/docs/install-os-x.md b/site/docs/install-os-x.md index 47fe90a9a7..5318344081 100644 --- a/site/docs/install-os-x.md +++ b/site/docs/install-os-x.md @@ -78,14 +78,17 @@ sudo gcc --version ### 2. Download the Bazel installer +**Note:** In the installer file names listed in this document, replace +`<version>` with the appropriate Bazel version number. + Go to Bazel's [GitHub releases page](https://github.com/bazelbuild/bazel/releases). -Download the binary installer `bazel-0.5.4-installer-darwin-x86_64.sh`. This +Download the binary installer `bazel-<version>-installer-darwin-x86_64.sh`. This installer contains the Bazel binary and the required JDK, and can be used even if a JDK is already installed. -Note that `bazel-0.5.4-without-jdk-installer-darwin-x86_64.sh` is a version of -the installer without embedded JDK 8. Only use this installer if you already +Note that `bazel-<version>-without-jdk-installer-darwin-x86_64.sh` is a version +of the installer without embedded JDK 8. Only use this installer if you already have JDK 8 installed. ### 3. Run the installer @@ -93,8 +96,8 @@ have JDK 8 installed. Run the installer: <pre> -chmod +x bazel-0.5.4-installer-darwin-x86_64.sh -./bazel-0.5.4-installer-darwin-x86_64.sh --user +chmod +x bazel-<version>-installer-darwin-x86_64.sh +./bazel-<version>-installer-darwin-x86_64.sh --user </pre> The `--user` flag installs Bazel to the `$HOME/bin` directory on your system and |