官网传送门:Homebrew
![](http://upload-images.jianshu.io/upload_images/1350593-b017e74823a76d9a.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
根据官网说明安装报错:curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
查询资料后发现苹果新系统安全提升,禁止了直接执行远程脚本。 把脚本文件下载到本地来执行就好(macOS 10.15.3)。
操作步骤
1.复制首页红框中的url到浏览器打开(需要梯子):https://raw.githubusercontent.com/Homebrew/install/master/install.sh
![](http://upload-images.jianshu.io/upload_images/1350593-3e6567a5ae4a81f7.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
2.保存脚本到本地brew_install.sh
3.打开终端至脚本目录执行
bash brew_install.sh
![](http://upload-images.jianshu.io/upload_images/1350593-7d732eff2687dd26.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
作者:TaoSunky
链接:https://www.jianshu.com/p/b1de316fc3fc
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。