安装homebrew的时候,在终端输入

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

  

提示:

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation

 

解决方法:

先在浏览器输入这个地址:

https://raw.githubusercontent.com/Homebrew/install/master/install
(要FQ)

如下: 

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

把这个网页保存名为brew_install.rb的文件,保存的位置你随便,只要自己能找到。

则在终端输入curl

$ curl

curl: try 'curl --help' or 'curl --manual' for more information

这样就没错,要是报错,那我就不知道了!

然后在终端进入存放这个文件的目录,然后终端输入

ruby brew_install.rb

然后等安装homebrew吧!



转载链接:https://www.jianshu.com/p/68efabd2e32b

 

相关文章:

  • 2021-09-10
  • 2021-12-29
  • 2021-08-28
  • 2021-05-25
  • 2021-09-15
  • 2021-07-08
猜你喜欢
  • 2022-01-20
  • 2022-12-23
  • 2021-11-17
  • 2021-07-20
  • 2021-05-29
相关资源
相似解决方案