| Name | -Default | -Example | -
|---|---|---|
HOMEBREW_PREFIX |
- /usr/local |
- - |
prefix |
- #{HOMEBREW_PREFIX}/Cellar/#{name}/#{version} |
- /usr/local/Cellar/foo/0.1 |
-
opt_prefix |
- #{HOMEBREW_PREFIX}/opt/#{name} |
- /usr/local/opt/foo |
-
bin |
- #{prefix}/bin |
- /usr/local/Cellar/foo/0.1/bin |
-
doc |
- #{prefix}/share/doc/foo |
- /usr/local/Cellar/foo/0.1/share/doc/foo |
-
include |
- #{prefix}/include |
- /usr/local/Cellar/foo/0.1/include |
-
info |
- #{prefix}/share/info |
- /usr/local/Cellar/foo/0.1/share/info |
-
lib |
- #{prefix}/lib |
- /usr/local/Cellar/foo/0.1/lib |
-
libexec |
- #{prefix}/libexec |
- /usr/local/Cellar/foo/0.1/libexec |
-
man |
- #{prefix}/share/man |
- /usr/local/Cellar/foo/0.1/share/man |
-
man[1-8] |
- #{prefix}/share/man/man[1-8] |
- /usr/local/Cellar/foo/0.1/share/man/man[1-8] |
-
sbin |
- #{prefix}/sbin |
- /usr/local/Cellar/foo/0.1/sbin |
-
share |
- #{prefix}/share |
- /usr/local/Cellar/foo/0.1/share |
-
pkgshare |
- #{prefix}/share/foo |
- /usr/local/Cellar/foo/0.1/share/foo |
-
etc |
- #{HOMEBREW_PREFIX}/etc |
- /usr/local/etc |
-
var |
- #{HOMEBREW_PREFIX}/var |
- /usr/local/var |
-
buildpath |
- A temporary directory somewhere on your system | -/private/tmp/[formula-name]-0q2b/[formula-name] |
-
otp_src_R13B03 to
download. This means instead of manually renaming a formula, you can
run `mv the_tarball $(brew --cache -s $FORMULA)`.
-You can also pre-cache the download by using the command `brew fetch formula` which also displays the SHA256 value. This can be useful for updating formulae to new versions.
+You can also pre-cache the download by using the command `brew fetch formula` which also displays the SHA-256 hash. This can be useful for updating formulae to new versions.
## Using Homebrew behind a proxy
Behind the scenes, Homebrew uses several commands for downloading files (e.g. curl, git, svn). Many of these tools can download via a proxy. It's a common (though not universal) convention for these command-line tools to observe getting the proxy parameters from environment variables (e.g. `http_proxy`). Unfortunately, most tools are inconsistent in their use of these environment parameters (e.g. curl supports `http_proxy`, `HTTPS_PROXY`, `FTP_PROXY`, `GOPHER_PROXY`, `ALL_PROXY`, `NO_PROXY`).
@@ -63,12 +63,13 @@ internet for details), including at runtime:
http_proxy=http://