安装homebrew出现问题
1、打开homebrew官网
安装执行代码:
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
2、出现问题
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
3、解决方法
一句命令搞定,国内的镜像地址
/bin/zsh -c “$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)”