Pages

Google Ads

Saturday, June 27, 2015

How to Install Node.js and NPM on a Mac

Visit the website: http://blog.teamtreehouse.com/install-node-js-npm-mac

Type on your terminal:

brew install node

output:

Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ brew install node
==> Downloading https://homebrew.bintray.com/bottles/node-0.12.5.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring node-0.12.5.yosemite.bottle.tar.gz
==> Caveats

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/node/0.12.5: 2681 files, 29M
Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ node -v
v0.12.5
Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ npm -v
2.11.2


No comments: