安装HomeBrew报错,Failed during: git fetch origin master:ref........

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /usr/local/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/Homebrew
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown lijian /usr/local/Homebrew
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 4127, done.
remote: Compressing objects: 100% (2752/2752), done.
error: RPC failed; curl 56 SSLRead() return error -9806tes/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force --depth=1
lijiandembp:local lijian$

第一,网络问题。

第二,你的 curl 的went

第三,ssl 证书问题

JellyBool
修改的评论也不能少于六个字哦!
tlijian1989 回复 JellyBool
修改的评论也不能少于六个字哦!