DEV Community

Cover image for Updating the Node Version
Edson Junior de Andrade
Edson Junior de Andrade

Posted on

Updating the Node Version

Simple and fast way to update the node version on your machine, let's install package n globally

sudo npm install -g n
Enter fullscreen mode Exit fullscreen mode

Then we can install the latest version or stable version as you prefer

Latest version

sudo n latest
Enter fullscreen mode Exit fullscreen mode

Stable version

sudo n stable
Enter fullscreen mode Exit fullscreen mode

Top comments (0)