解决curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to raw.githubusercontent.com:443 错误

报错命令

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

 

报错状态

技术分享图片

 

 

解决办法

原因是没有安装git,用以下命令安装git,然后再执行上面的命令
sudo apt-get install git

参考https://www.pianshen.com/article/51111269488/

 

文章来自:https://www.cnblogs.com/chen55555/p/13707192.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3