-
Notifications
You must be signed in to change notification settings - Fork 0
Installing Node.js
LingQL edited this page Sep 30, 2016
·
1 revision
Node.js is an open source, cross-platform runtime environment for server-side and networking applications written using JavaScript.
First please make sure you have Homebrew installed and fully updated, then installing Node.js should simply be a matter of doing:
First ensure homebrew is fully up to date
$ brew update
$ brew doctor
Then install node.js
$ brew install nodejs
... installation output
Check the install like this:
$ node --version
v0.12.0
$ npm --version
2.5.1
to update nodejs:
$ brew upgrade
note from usman: when i did this last step i saw an old version for each of these since presumably i'd installed previously using some other method. using 'brew uninstall' and then installing again did not work, but following instructions here: https://gist.github.com/DanHerbert/9520689 did the trick.