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