aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-11-01 10:24:57 -0700
committerAdam Vandenberg2010-11-01 10:25:02 -0700
commit5e64bfbd55c0f146b8293cb6354a5e7038775159 (patch)
treec4ba97aaa8b65d92c886e8e3775eb95a2f38430b /Library
parentb6332de28d51a069187c8faf163c3b4afc538c56 (diff)
downloadbrew-5e64bfbd55c0f146b8293cb6354a5e7038775159.tar.bz2
Add proxy information to man page
Diffstat (limited to 'Library')
-rw-r--r--Library/Contributions/manpages/brew.1.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 4f3bfffd9..be7c168c8 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -283,6 +283,21 @@ Some external commands are shipped with Homebrew, and enabled by default.
If set, instructs Homebrew to always assume `--verbose` when running
commands.
+## USING HOMEBREW BEHIND A PROXY
+
+Homebrew uses several commands for downloading files (e.g. curl, git, svn).
+Many of these tools can download via a proxy. It's common for these tools
+to read proxy parameters from environment variables.
+
+For the majority of cases setting `http_proxy` is enough. You can set this in
+your shell profile, or you can use it before a brew command:
+
+ http_proxy=http://<host>:<port> brew install foo
+
+If your proxy requires authentication:
+
+ http_proxy=http://<user>:<password>@<host>:<port> brew install foo
+
## SEE ALSO
Homebrew Wiki: http://wiki.github.com/mxcl/homebrew/