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

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

    I solved this problem by the following steps:

    1. removing the old tools ($ rm -rf /Library/Developer/CommandLineTools)
    2. install xcode command line tools again ($ xcode-select --install).

提交回复
热议问题