According to the Homebrew site, to install it, I need to type:
brew install wget
I get an error message:
-bash: brew: command not found
Found this answer. The problem, however, is I don't see brew in /usr/local/bin.
I added the below line to my .bashrc file
export PATH=/usr/local/bin:$PATH
Still getting the command not found error.
How do I install Homebrew on macOS?


/bin/bashgiven thatzshis the new default in mac? also if the answers fail this might help: apple.stackexchange.com/questions/419724/…sudo rm -rf /usr/local/HomeBrewif your having issues