I installed brew in my new Mac M1 and ask me to put /opt/homebrew/bin
in the path, so the right command for this case is:
echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.bash_profile && source ~/.bash_profile
I installed brew in my new Mac M1 and ask me to put /opt/homebrew/bin
in the path, so the right command for this case is:
echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.bash_profile && source ~/.bash_profile