SilverNightaFall SilverNightaFall - 1 year ago 125
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download