How to install latest node version with nvm

Today I learned how to install or update my Node.js version to the latest stable version with nvm.

To update to the latest stable version, simply run:

1$~ nvm install stable

This will also set the installed node as the default. That’s it