mac上安装包管理工具homebrew失败!【Failure while executing; `git clone https://github.com/Homebrew/homebrew-cor】
1.错误代码Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54Error
·
1.错误代码
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core` exited with 128.
Error: Failure while executing; `/usr/local/bin/brew tap homebrew/core` exited with 1.
换了新mac, homebrew死活装不上,老是卡在这里,试了网上的各种方法都没能成功!
最后在官网的社区里找到了答案!链接
2.具体操作方法,在命令行里执行:
git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1
3.装完后诊断一下:
$ brew doctor
# Your system is ready to brew.
终于不用摸鱼了~
更多推荐
已为社区贡献1条内容
所有评论(0)