Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Homebrew behind proxy ? #11114

Closed
cubiic opened this issue Mar 21, 2012 · 5 comments
Closed

Homebrew behind proxy ? #11114

cubiic opened this issue Mar 21, 2012 · 5 comments

Comments

@cubiic
Copy link

cubiic commented Mar 21, 2012

How to run homebrew behind proxy ?

✗ brew install corkscrew
==> Downloading http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz

curl: (22) The requested URL returned error: 503
Error: Download failed: http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz

I think the main issue here is to make curl work behind proxy since as you can see i'm using http rather than git protocol which is not blocked .

Any help please ?

@adamv
Copy link
Contributor

adamv commented Mar 21, 2012

man brew or https://github.com/mxcl/homebrew/blob/master/Library/Contributions/manpages/brew.1.md - there is a section on using a proxy at the end.

@cubiic
Copy link
Author

cubiic commented Mar 21, 2012

Thanks fir the updates

@cubiic cubiic closed this as completed Mar 21, 2012
@jaredsburrows
Copy link

For those that still need this answered(run via Terminal):

$ http_proxy=http://IP:PORT https_proxy=http://IP:PORT brew install PACKAGE

@drmingdrmer
Copy link

This makes me happier:

ALL_PROXY=socks5://127.0.0.1:9001 brew upgrade

@muellermichel
Copy link

I agree with drmingdrmer, it only worked for me when I set ALL_PROXY

@Homebrew Homebrew locked and limited conversation to collaborators Jul 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants