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

前端 未结 12 564
被撕碎了的回忆
被撕碎了的回忆 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:29

    The accepted Answer is outdated now. But based on the answer I solved the problem by:

    1. open the home page of brew https://brew.sh/
    2. copy the URL from the install cmd and open it on your browser https://raw.githubusercontent.com/Homebrew/install/master/install.sh
    3. right-click and save it to your computer
    4. open a terminal and run it with: /bin/bash path-to/install.sh

提交回复
热议问题