Install Node JS and Bower on OS X
Node JS and NPS
Installing node.js on OS X is really simple, this is how
-
Go to nodejs.org and click to download for your OS (e.g.
Download for OS X (64)) -
Double click on on the downloaded package (e.g.
node-v4.1.1.pkg) -
Follow the instructions to install, as per the summary you get on the last screen, check that /usr/local/bin is in your $PATH:
3.1. In the terminal type
echo $PATH,/usr/local/binshould be shown in the:seperated string -
Check that it works:
4.1. In the terminal type
nodeto launch the node console4.2.
console.log('something')should returnsomething undefined4.3.
CTRL + Ctwice orprocess.exit()to exit
Bower
Installing Bower on OS X is really simple, this is how
-
Install node.js and nps (and git) - see above
-
Install bower:
sudo npm install -g bower -
Install Packages:
bower install