curl cip.cc
MAC homebrew download failed and stuck in head… .. ,
First of all, common shit g enters usr/local and finds that there is a home-brew folder. After deleting the folder, use the download command. The download discovery is very slow because the terminal is not set as a global agent.
Set up the terminal global agent command:
export http_proxy=http://127.0.0.1:1087;
export https_proxy=http://127.0.0.1:1087;
Cancel the proxy access command:
unset http_proxy
unset https_proxy
Set up a separate global proxy for git:
git config –global http.proxy 127.0.0.1:1088
View the proxy:
git config –get http.proxy
git agent clearance
git config –global –unset http.proxy
git config –global –unset https.proxy
Warning: /usr/local/bin is not in your PATH.
Modify the environment variable configuration file
open ~/.bash_profile
export PATH=/usr/local/bin:$PATH
source ~/.bash_profile # updates the configured environment variables