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


...
Ian

share:


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


...
Ian

share:


Want to know more?

Get in touch today and we can get the ball rolling