mac安装homebrew失败怎么办

2025-04-26 05:09:06
推荐回答(1个)
回答1:

你好,
在Mac上安装Homebrew时可能会遇到这样的错误提示:
curl: (35) Server aborted the SSL handshake
下面就详细介绍下如何在Mac上安装homebrew
工具/原料

homebrew
终端命令
方法/步骤

打开Mack中的命令行工具

2
在打开的命令行工具中输入如下语句:
ruby -e "$(curl --insecure -fsSL

3
执行上面命令后会提示输入系统密码

4
输入密码后会开始下载homebrew,如果此时网速不稳定可能会出现错误提示:curl: (35) Server aborted the SSL handshake。
此时需要执行卸载操作,输入如下命令进行卸载:
ruby -e "$(curl -fsSL
卸载完成后再次尝试安装。