How to Upgrade to Node.js v4 on Ubuntu

I’ve recently upgraded to Node.js v4 on 3 different Ubuntu 14.04 LTS instances, from 0.10 and also from 0.12.

Although the version jump might look a bit scary, it was actually quite seamless. I figured going to v4 versus v5 at this stage would be better because it’s LTS (Long Term Support) so it’ll stay around for a while.

So here’s 2 commands that will do the upgrade on your Ubuntu:

Then you can just run nodejs -v to verify 🙂

 

Comments

  • Joyent, io.js, Node.js Foundation and Version 4

    December 25, 2015 at 3:46 pm

    […] needs/appeal is critical here and I believe that is what the community as a whole is working on. I’ve upgraded to Node.js v4 last month and I am enjoying some of the new features, especially around managing […]

Write a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.