【debug】Homebrew installation on Mac OS X Failed to connect to raw.githubusercontent.com port 443

问题原因

网速问题

解决方法

手动安装

去homebrew官网找到安装命令:
在这里插入图片描述
然后去命令中的url,即https://raw.githubusercontent.com/Homebrew/install/master/install.sh将install.sh保存到桌面上
然后运行:

/bin/bash ~/Desktop/install.sh

等待安装完毕

镜像安装

可自行搜索如何安装brew镜像

原文地址:https://www.cnblogs.com/hzcya1995/p/13281662.html