解决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

 

报错状态

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

 

 

解决办法

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

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

 

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

上一篇:Centos 安装Node.js


下一篇:.NET Core版本