安装 homebrew 或者 oh-my-zsh 时报错
# 通常终端的报错信息如下
curl: (35) LibreSSL SSL_connect: Connection reset by peer in connection to raw.githubusercontent.com:443
解决方案:
# 安装 oh-my-zsh,在终端输入
sh -c "$(curl -fsSL https://gitee.com/Devkings/oh_my_zsh_install/raw/master/install.sh)"
# 安装 homebrew ,在终端输入
sh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
原因
原因就不讲了,毕竟国内就这样。解决的思路其实就是换了国内gitee的镜像。