Reputation: 1449
Yeah, I searched serveal same problem(like how to install homebrew on MacOSx) in StackOverflow, but problem still occurs:
curl: (6) Could not resolve host: raw.githubusercontent.com
The command I typed in the terminal comes from homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
But failed to install homebrew.
Upvotes: 1
Views: 1404
Reputation: 1
The El Capitan enabled System Integrity Protection (SIP) by default, to install homebrew,you have to disable it.
reboot your mac and when it is restarting, press 'command + r' to enter recovery mode. open the Terminal and implement
csrutil disable
then reboot your mac and install the homebrew as you did. when finishing installing homebrew, don't forget to enable SIP to protect your mac.
About SIP: WWDC15 Security and Your Apps
Upvotes: 0