Failed to connect to raw.githubusercontent.com port 443


Mac 安装 homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

报错:

Failed to connect to raw.githubusercontent.com port 443

 

这个是你的主机无法连接 raw.githubusercontent.com 导致的

 

解决办法:

使用国内的源

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

 

参考: https://zhuanlan.zhihu.com/p/111014448


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM