aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/install-os-x.md
diff options
context:
space:
mode:
authorGravatar Tim Zaman <timbobel@gmail.com>2017-09-28 14:55:23 -0400
committerGravatar John Cater <jcater@google.com>2017-09-29 12:14:05 -0400
commit64cb229b324444ed24c067dce42cdeea787e4728 (patch)
tree6a5a9a981b35d47ee48b893ed63660511a81dbc9 /site/docs/install-os-x.md
parent8893c4323f735a0e956b8fab7bff2c9ea53b3706 (diff)
Fix osx install doc.
- [x] Remove the brew update entry when installed with binary. - [x] Add notion of the `.profile` file instead of `.bashrc` (though neither necessarily exists) Closes #3775. PiperOrigin-RevId: 170376534
Diffstat (limited to 'site/docs/install-os-x.md')
-rw-r--r--site/docs/install-os-x.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/site/docs/install-os-x.md b/site/docs/install-os-x.md
index 091b853df0..99afc6b694 100644
--- a/site/docs/install-os-x.md
+++ b/site/docs/install-os-x.md
@@ -42,9 +42,16 @@ brew install bazel
```
You are all set. You can confirm Bazel is installed successfully by running
-`bazel version`.
-You can later upgrade to newer version of Bazel with `brew upgrade bazel`.
+```bash
+bazel version
+```
+
+Once installed, you can upgrade to a newer version of Bazel with:
+
+```bash
+brew upgrade bazel
+```
## <a name="install-with-installer-mac-os-x"></a>Install using binary installer
@@ -104,15 +111,12 @@ this directory to your default paths, as follows:
export PATH="$PATH:$HOME/bin"
```
-You can also add this command to your `~/.bashrc` file.
+You can also add this command to your `~/.bashrc` or `~/.profile` file.
You are all set. You can confirm Bazel is installed successfully by running
```bash
bazel version
```
-Once installed, you can upgrade to a newer version of Bazel with:
-
-```bash
-brew upgrade bazel
-```
+When Bazel is installed using the binary installer, updating Bazel is only
+possible by downloading and installing a new release.