>> curl: (7) Failed to connect t_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)"
>>> curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接
oh my zsh 官网提供的地址错误.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
更为使用国内的项目地址
项目mirror地址: https://gitee.com/mirrors/oh-my-zsh
以下命令功能下载我修改过的ohmyzsh的install.sh并执行,改变了文件中指向的git仓库从github移到gitee。 如果有问题欢迎留言。
via curl
sh -c "$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
via wget
sh -c "$(wget -O- https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
文章原文作者是在ubuntu下进行的,但是我在macos下同样适用!!!
原文地址:https://blog.csdn.net/qq_35104586/article/details/103604964/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。