mac安装brew(亲测)

在网上搜了很多brew安装方式,包括使用官网的方式都安装报错
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)"
思而不学则殆
原文地址:https://www.cnblogs.com/sunyllove/p/14406518.html