This issue applies if brew commands return:
-bash: brew: command not found
How to install
From the website
Open up the Terminal window and type:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"