Error installing homebrew on mac (curl: (6) Could not resolve host: raw.githubusercontent.com)

前端 未结 6 1755
生来不讨喜
生来不讨喜 2021-02-07 21:20

I am trying to following instructions on homebrew homepage but the following

ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/ins         


        
6条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-07 22:03

    For people facing this problem I had resolved it by adding a new name server into network configuration.

    Click on "System Preferences" then "Network", "Advanced" , "DNS", "+" and enter IP of the new name server, a good public name server is "8.8.8.8" .

提交回复
热议问题