diff options
| author | Mike McQuaid | 2018-02-02 10:13:27 +0000 |
|---|---|---|
| committer | GitHub | 2018-02-02 10:13:27 +0000 |
| commit | a44b21b2dfd229c10a0c748c4f06e8ab6520f898 (patch) | |
| tree | ec3f2de59f66045667e05583414cc39832aa8052 /docs/Manpage.md | |
| parent | 701ecb49755d9be3f4c40ce979814027cda1c479 (diff) | |
| parent | 3e6adb7e33110f8f620bb387ce5884dba56783ad (diff) | |
| download | brew-a44b21b2dfd229c10a0c748c4f06e8ab6520f898.tar.bz2 | |
Merge pull request #3751 from xiehuc/master
add ALL_PROXY for brew
Diffstat (limited to 'docs/Manpage.md')
| -rw-r--r-- | docs/Manpage.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/Manpage.md b/docs/Manpage.md index cd3f87452..6229a0a01 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1062,6 +1062,10 @@ can take several different forms: Sets the HTTPS proxy to be used by `curl`, `git` and `svn` when downloading through Homebrew. + * `all_proxy`: + Sets the SOCKS5 proxy to be used by `curl`, `git` and `svn` when downloading + through Homebrew. + * `ftp_proxy`: Sets the FTP proxy to be used by `curl`, `git` and `svn` when downloading through Homebrew. @@ -1071,12 +1075,14 @@ can take several different forms: by `curl`, `git` and `svn` when downloading through Homebrew. ## USING HOMEBREW BEHIND A PROXY -Use the `http_proxy`, `https_proxy`, `no_proxy` and/or `ftp_proxy` documented above. +Use the `http_proxy`, `https_proxy`, `all_proxy`, `no_proxy` and/or `ftp_proxy` documented above. -For example for an unauthenticated HTTP proxy: +For example for an unauthenticated HTTP or SOCKS5 proxy: export http_proxy=http://`host`:`port` + export all_proxy=socks5://`host`:`port` + And for an authenticated HTTP proxy: export http_proxy=http://`user`:`password`@`host`:`port` |
