curl:(7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接

在没有柯xue上网的情况下安装ohmyzsh出现的这个问题
完整报错:

-> sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-> curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接

无法柯xue上网怎么办?
使用码云的镜像即可。
码云的出现真的可谓是国内开发者的福音,它的镜像仓库更是解决了许多开发者配置环境需要FQ的烦恼。
ohmyzsh在码云上仓库的地址
那么只需将上述命令改为:

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

即可

posted @ 2020-08-05 21:39  Jaywhenxiang  阅读(5452)  评论(0编辑  收藏  举报