且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Mac OS X上进行Homebrew安装无法连接到raw.githubusercontent.com端口443

更新时间:2022-02-26 08:53:41

为我工作。除非它是github的一个实际问题,可能是这样,但我想可能不是,这可能与您的连接有关。

Works for me. Unless its a real problem with github, which it may be but I'm going to guess that its not, its probably a problem with your connection.

https://raw.githubusercontent.com/Homebrew/install/master/install

如果那里也出现错误,您就知道问题所在是。 (与您的网络管理员交谈)

If you get an error there too, you know what your problem is. (Talk to your network admin)

如果可行,请尝试在终端中仅执行 curl命令,看看curl是否给出了更具体的错误?

If that works...maybe try doing just the "curl" command in your terminal to see if curl gives a more specific error?

此外,如果可行,将文件保存到计算机上的文件(brew_install.rb),然后通过

Also, if that does work, save that file to a file on your computer (brew_install.rb) and then run it via

ruby brew_install.rb