美文网首页Pod 使用 开发
安装homebrew报错 curl: (7) Failed to

安装homebrew报错 curl: (7) Failed to

作者: nick5683 | 来源:发表于2021-04-21 14:31 被阅读0次

   安装homebrew报错curl: (7) Failed to connect to raw.githubusercontent.com port443: Connection refused

通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址 199.232.*.*

打开终端 :执行  sudo vi /etc/hosts

添加 199.232.*.* raw.githubusercontent.com

 然后再次访问可正常访问进行下载。

——————————————

卸载homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"

安装homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

相关文章

网友评论

    本文标题:安装homebrew报错 curl: (7) Failed to

    本文链接:https://www.haomeiwen.com/subject/dyqzlltx.html