SilverNightaFall SilverNightaFall - 4 months ago 15
MySQL Question

-bash command not found

I am new to Mac and was following a video and typed

export PATH="$HOME/opt/git/bin:$PATH"
I believe this messed up my path and I am not able to install MySQL now. When I tried to install homebrew I get
-bash: homebrew: command not found.

Answer

The command for homebrew is brew, not homebrew.

You can reset your path by restarting your shell. If you changed it in your ~/.bash_profile, edit it with TextEdit or similar first to remove the offending line, and restart the shell.

Comments