Installing HomeBrew, node, bower in MAC
How to Install Node.js and NPM on a Mac
Installing HomeBrew :
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install node
npm install bower