mac 安装homebrew出错 Failed to conne

2020-04-23  本文已影响0人  小蜜蜂_a7be

执行:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

报错:mac 安装homebrew出错 Failed to connect to raw.githubusercontent.com port 443: Connection refused error

解决方案:

1、removing the old tools 

$ rm -rf /Library/Developer/CommandLineTools

2、install xcode command line tools again 

$ xcode-select --install

3、

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

上一篇 下一篇

猜你喜欢

热点阅读