mac安装 ohmyzsh发生443错误

安装好iterm2后安装ohMyZsh发生443错误

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to raw.github.com port 443: Connection refused

网上查找是因为此地址被墙,无法使用,切换为国内地址

参考 csdn - 浩星 -关于ohmyzsh下载被443拒绝连接

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

你可能感兴趣的:(mac安装 ohmyzsh发生443错误)