aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFrederick Akalin2017-08-19 17:08:07 -0700
committerFrederick Akalin2017-08-23 15:53:28 -0700
commit00eb4324de2035e417344b7b7a2cac6e5a8f29a5 (patch)
treeac7b5cd0fe5ce072e5ebf0018ab00c5811510fe2 /docs
parent6023e408dadc483e2c29dd537f535b8f630f905a (diff)
downloadbrew-00eb4324de2035e417344b7b7a2cac6e5a8f29a5.tar.bz2
Update FAQ entry
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/FAQ.md b/docs/FAQ.md
index 788c49626..053c1f971 100644
--- a/docs/FAQ.md
+++ b/docs/FAQ.md
@@ -68,13 +68,15 @@ Be careful as this is a destructive operation.
Which is usually: `~/Library/Caches/Homebrew`
## My Mac `.app`s don’t find `/usr/local/bin` utilities!
-GUI apps on macOS don’t have `/usr/local/bin` in their `PATH` by default.
-If you’re on Mountain Lion, you can fix this by running
-`launchctl setenv PATH "/usr/local/bin:$PATH"`. [More details
-here](https://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/5444960#5444960),
-including how to set this across reboots. If you’re pre-Mountain Lion,
-[here’s an official
-alternative](https://developer.apple.com/legacy/library/qa/qa1067/_index.html).
+GUI apps on macOS don’t have `/usr/local/bin` in their `PATH` by
+default. If you're on Mountain Lion or later, you can fix this by
+running `sudo launchctl config user path "/usr/local/bin:$PATH"` and
+then rebooting. Note that this sets the launchctl PATH for _all users_
+([more details here](https://apple.stackexchange.com/a/198282)). For
+earlier versions,
+see [this page](https://stackoverflow.com/a/5444960/7869253),
+or
+[this page](https://developer.apple.com/legacy/library/qa/qa1067/_index.html).
## How do I contribute to Homebrew?
Read [CONTRIBUTING.md](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md).