Error installing homebrew on mac (curl: (6) Could not resolve host: raw.githubusercontent.com)

前端 未结 6 1732
生来不讨喜
生来不讨喜 2021-02-07 21:20

I am trying to following instructions on homebrew homepage but the following

ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/ins         


        
6条回答
  •  执念已碎
    2021-02-07 21:48

    If you happen to be behind a proxy, You might need a way out, to exit

    export http_proxy=http://YOURPROXY:PORT export ALL_PROXY=$http_proxy
    

    For some other users, setting back their github https and https-proxy to default works sometimes as well.

    git config --global --unset http.proxy
    git config --global --unset https.proxy
    

提交回复
热议问题