Merge pull request #3071 from akalin/fix-faq-entry
Update FAQ entry re. .apps and /usr/local/bin
This commit is contained in:
commit
89f120f53c
13
docs/FAQ.md
13
docs/FAQ.md
@ -68,13 +68,12 @@ Be careful as this is a destructive operation.
|
|||||||
Which is usually: `~/Library/Caches/Homebrew`
|
Which is usually: `~/Library/Caches/Homebrew`
|
||||||
|
|
||||||
## My Mac `.app`s don’t find `/usr/local/bin` utilities!
|
## 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.
|
GUI apps on macOS don’t have `/usr/local/bin` in their `PATH` by
|
||||||
If you’re on Mountain Lion, you can fix this by running
|
default. If you’re on Mountain Lion or later, you can fix this by
|
||||||
`launchctl setenv PATH "/usr/local/bin:$PATH"`. [More details
|
running `sudo launchctl config user path "/usr/local/bin:$PATH"` and
|
||||||
here](https://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/5444960#5444960),
|
then rebooting, as documented in `man launchctl`. Note that this sets
|
||||||
including how to set this across reboots. If you’re pre-Mountain Lion,
|
the launchctl PATH for _all users_. For earlier versions of macOS, see
|
||||||
[here’s an official
|
[this page](https://developer.apple.com/legacy/library/qa/qa1067/_index.html).
|
||||||
alternative](https://developer.apple.com/legacy/library/qa/qa1067/_index.html).
|
|
||||||
|
|
||||||
## How do I contribute to Homebrew?
|
## How do I contribute to Homebrew?
|
||||||
Read [CONTRIBUTING.md](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md).
|
Read [CONTRIBUTING.md](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user