In this guide I’ll show you how to install the package manager Bower on Mac OS X.
Bower is a NodeJS application, so you’ll need to install the Node Package Manager
npm is available as a package in the Homebrew repositories.
If you don’t have Homebrew installed, it’s probably time to do so and then install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install npm npm install -g bower
In case you get the following error while installing the
bower package, add the
following lines to your
fatal: Unable to look up github.com (port 9418) (nodename nor servname provided, or not known)
ntp 123/tcp ntp 123/udp
Now that the installation is complete, run bower using