安装 oh my zsh 插件提示curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection re...

最近重新安装了电脑系统,然后在终端安装oh my zsh 时发现一直报错:

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

使用的命令是:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

后来访问网站也访问不了,所以重新找了一个可以访问的镜像:

使用下面这个命令就可以安装了:

sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"

你可能感兴趣的:(安装 oh my zsh 插件提示curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection re...)