I'm trying to install Homebrew on OS X.
According to the Homebrew site I should type
brew install wget
and all I get is
-bash: brew: command not found
So I've searched StackOverflow and found this answer. The problem, however, is I don't see brew
in /usr/local/bin
.
So, I also added the following line to my .bashrc
file
export PATH=/usr/local/bin:$PATH
But I'm still getting the command not found
error.
How do I get Homebrew installed on OS X?
On an out of the box MacOS High Sierra 10.13.6
Gives the following error:
Solution: Just add a k to your Curl Options
Check XCode is installed or not.
http://techsharehub.blogspot.com/2013/08/brew-command-not-found.html "click here for exact instruction updates"
I might be late to the party, but there is a cool website where you can search for the packages and it will list the necessary command to install the stuff. BrewInstall is the website.
However you can install wget with the following command:
Hope this helps :)