Develo Design


Upgrade to newest version of Node.js – Mac OS X

For me, the easiest way to manage node.js versions is with the n version manager npm package.

To install this package simply run:

npm install -g n

npm cache clean -f

You may need to include sudo at the start if you get an EACCES error.

With the n version manager installed, you can upgrade to the latest stable version of node with the following two commands:

sudo n stable

npm update -g

You can check your current node version by running:

node -v


Loading Disqus Comments ...
Loading Facebook Comments ...

Post Comment

Your email address will not be published. Required fields are marked *

Discuss My Project

We want to hear about your project! Provide us with a few details and we’ll get back to you for a chat.