Error Installing Homebrew – Brew Command Not Found [duplicate]

The warning is telling you what is wrong. The problem is that brew is kept in /usr/local/bin

So, you can try /usr/local/bin/brew doctor

To fix it permanently alter your bash profile (.bashrc or .profile in your home directory) and add the following line:

export PATH=/usr/local/bin:$PATH

On Apple silicone it’s

export PATH=/opt/homebrew/bin/:$PATH

Leave a Comment