之前网上有很多安装brew连接的地址总是提示错误
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
后来无意中搜到一个帖子说这个,试了一下,果然可以,记录一下,要多试几次,‼️成功了
/bin/zsh -c “$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)”
以下都是安装提示
wqdeMacBook-Pro:upx-3.96-amd64_linux wq$ /bin/zsh -c " ( c u r l − f s S L h t t p s : / / g i t e e . c o m / c u n k a i / H o m e b r e w C N / r a w / m a s t e r / H o m e b r e w . s h ) " c u r l : ( 56 ) L i b r e S S L S S L r e a d : S S L E R R O R S Y S C A L L , e r r n o 54 w q d e M a c B o o k − P r o : u p x − 3.96 − a m d 6 4 l i n u x w q (curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 wqdeMacBook-Pro:upx-3.96-amd64_linux wq (curl−fsSLhttps://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh