sudo vim .bash_profileadd : save : source .bash_profile to make change work。export PATH=/usr/local/bin:$PATH
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
use brew again , it will workl