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
No comments:
Post a Comment