场景
mac 终端下,执行以下命令安装brew时
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
报错:
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)”