Mac OS安装Homebrew以及Failed to connect to raw.githubusercontent.com port 443: Connection refused报错解决

此文仅用于存档。

安装Homebrew过程中,
执行curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install >> brew_install时报错:
Failed to connect to raw.githubusercontent.com port 443: Connection refused

于是找到解决方案:
(解决方案原文链接:https://zhuanlan.zhihu.com/p/111014448)
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

安装成功后,查看版本:
brew -v

posted @ 2020-05-25 10:55  ccneko  阅读(217)  评论(0)    收藏  举报