Mac 安裝 homebrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 報錯: Failed to connect to raw.githu ...
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