Reputation: 423
I have a problem installing homebrew in mac sierra.
I followed the instructions from this link: https://coolestguidesontheplanet.com/installing-homebrew-on-macos-sierra-package-manager-for-unix-apps/
This is the command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The link exists but when I type this in the terminal, I encounter this error: curl: (35) Server aborted the SSL handshake
Can anyone suggest a solution to this?
Many thanks, Ill appreciate any help.
Upvotes: 1
Views: 3096
Reputation: 11
Please use this to install homebrew in MacOS, previous one was deprecated.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Upvotes: 0
Reputation: 26876
I run into this issue, and it is caused by the network unstabitily.
My solution is:
Uninstall the homebrew
:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Then install it again:
ruby -e "$(curl --insecure -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
It works for me.
Upvotes: 1
Reputation: 931
https://raw.githubusercontent.com/Homebrew/install/master/install
Open the link in browser and save the file as install.rb. Then run
ruby install.rb
Upvotes: 1
Reputation: 10087
Have you tried xcode-select --install
before that command? This solution may work on some systems.
Another potential issue is your curl maybe too old. Upgrade to 7.46+ may solve this. You have to build curl from scratch if so.
If nothing helps, and you really want to install brew without second thought, try adding --insecure
after -fsSL
.
At last, you can always pull the git repo and install manually.
Upvotes: 0