安装Homebrew
Homebrew的官网:https://brew.sh/index_zh-cn.html,官网介绍:使用 Homebrew 安装 Apple(或您的 Linux 系统)没有预装但 你需要的东西。
安装Homebrew:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused的解决方式
安装Homebrew的时候,可能会遇到上述报错,解决办法:
- 打开网站: https://www.ipaddress.com/
查询一下 raw.githubusercontent.com对应的IP 地址 - 替换系统的host文件
我是用iHost来管理系统host文件
如果在安装Homebrew的过程中遇到了fata