DEV Community

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

Posted on

3 3

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs