From 5e64bfbd55c0f146b8293cb6354a5e7038775159 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 1 Nov 2010 10:24:57 -0700 Subject: Add proxy information to man page --- Library/Contributions/manpages/brew.1.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Library') 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://: brew install foo + +If your proxy requires authentication: + + http_proxy=http://:@: brew install foo + ## SEE ALSO Homebrew Wiki: http://wiki.github.com/mxcl/homebrew/ -- cgit v1.2.3