mac 安装brew

来源:互联网 发布:excel数据清洗 编辑:程序博客网 时间:2024/06/07 13:24

1.打开Mack中的命令行工具

terminal.APP


2.在打开的命令行工具中输入如下语句:

ruby -e "$(curl --insecure -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


3.输入密码


4.

输入密码后会开始下载homebrew,如果此时网速不稳定可能会出现错误提示:curl: (35) Server aborted the SSL handshake。

此时需要执行卸载操作,输入如下命令进行卸载:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

卸载完成后再次尝试安装。


原创粉丝点击