brew: command not found

sudo vim .bash_profile

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

save : source .bash_profile to make change work。


/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 
use brew again , it will workl
原文地址:https://www.cnblogs.com/liupuLearning/p/7887174.html