Homebrew installation on Mac OS X Failed to connect to raw.githubusercontent.com port 443

前端 未结 12 620
被撕碎了的回忆
被撕碎了的回忆 2021-02-01 22:48

When I try to install Homebrew, I am getting following connection refused error. Please help me to solve this problem.

$ruby -e \"$(curl -fsSL https://raw.github         


        
12条回答
  •  故里飘歌
    2021-02-01 23:07

    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.

    Can you get to the same URL via a browser?

    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)

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

    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
    

提交回复
热议问题