【】mac安装brew一直报错,完整的报错信息如下
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
【】原因:raw.githubusercontent.com
被墙了
【】快速解决(直接复制终端运行):
/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
【】详细解决
【】在mac中安装nvm:如何在macos上安装nvm
【】在mac中安装nvm:npm install -g nrm
【】可能遇到报错:
![](https://i-blog.csdnimg.cn/blog_migrate/b2c48aee70921b44d888de5f5febc8d5.png)
【】解决方法:npm install -g nrm open@8.4.2 --save