Upgrading Node.js to latest version

Ubuntu Linux/Mac:

The module n makes version-management easy:

npm install n -g

For the latest stable version:

n stable

For the latest version:

n latest

Windows:

just reinstall node from the .msi in Windows from the node website.

Leave a Comment