mac安装oh-my-zsh出现curl: (7) Failed to connect to raw.github.com port 443: Connection refused错误

在macOS执行命令:

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

出现错误提示curl: (7) Failed to connect to raw.github.com port 443: Connection refused

发现是防火墙的问题,重新执行以下命令:

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

你可能感兴趣的:(mac安装oh-my-zsh出现curl: (7) Failed to connect to raw.github.com port 443: Connection refused错误)