Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Homebrew behind proxy ? #11114

Closed
Closed
@cubiic

Description

@cubiic

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 ?

Activity

adamv

adamv commented on Mar 21, 2012

@adamv
Contributor

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

cubiic commented on Mar 21, 2012

@cubiic
Author

Thanks fir the updates

jaredsburrows

jaredsburrows commented on Oct 7, 2014

@jaredsburrows

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

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

drmingdrmer

drmingdrmer commented on Nov 13, 2014

@drmingdrmer

This makes me happier:

ALL_PROXY=socks5://127.0.0.1:9001 brew upgrade
muellermichel

muellermichel commented on Jul 2, 2015

@muellermichel

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

locked and limited conversation to collaborators on Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @adamv@drmingdrmer@cubiic@jaredsburrows@muellermichel

        Issue actions

          Homebrew behind proxy ? · Issue #11114 · Homebrew/legacy-homebrew