I am trying to install homebrew using command /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" on my mac but I am getting this error:
HEAD is now at aa937b902 Merge pull request #11474 from cho-m/fix-tar-validation.
I'm using zsh and already installed the Xcode using the command xcode-select --install
What can I do to solve the error? Any help is appreciated.
Related
I'm trying to install Homebrew on my OSx 11.1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
But I get the following error:
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version /bin/bash: not found
I found similar errors reported when trying to install Homebrew on old OSX systems, but this is not the case here. Does anyone have any idea what should I do?
Thank you!
maybe your curl is somehow linked to an older version(like macports). check the curl path and make sure you are using /usr/bin/curl.
I was not using the system tools here. which curl returned:
/opt/local/bin/curl
So I tried reducing the installer's PATH to the basics with the code below:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin /bin/bash -c "$(/usr/bin/curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Than added Homebrew to my PATH in /Users/hatvaniistvan/.profile with
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> Users/hatvaniistvan/.profile
eval $(/opt/homebrew/bin/brew shellenv)
This solved the problem and I managed not just install, but update homebrew as well.
I am trying to install the Homebrew throwgh following command in Terminal:
brew install jenkins-lts
but the result is: -bash: brew: command not found
what is your recommendation
Sounds like you havent got brew installed, please run the following in a terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
There is further install guidance here: https://docs.brew.sh/Installation if required
I installed homebrew today. And I did something wrong so that my homebrew can't work now. Since I use an arm based mac, I am hard to find solution to uninstall my homebrew which installed in /opt/homebrew/.
To uninstall Homebrew, run the uninstall script from the Homebrew/install repository.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
Download the uninstall script and run /bin/bash uninstall.sh --help to view more uninstall options.
Make sure your homebrew path is correct and then run the script:
echo $HOMEBREW_PREFIX #=> /opt/homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
See: https://github.com/homebrew/install#uninstall-homebrew
Im trying to install rsync on macOS high sierra using Brew :
brew install rsync
But i got this error :
Error: Could not create /usr/local/Cellar <br>
Check you have permission to write to /usr/local
You need just to uninstall and reinstall brew on your mac:
Before that execute to below command:
brew bundle dump
After that execute
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
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.
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
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.
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.
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)"