DEV Community

jeann
jeann

Posted on

2 2

Update Npm and Node

Update npm and nodejs in Ubuntu.

Step 1 -> npm install -g n

Step 2 ->sudo n stable

Step 3 -> sudo npm install npm -g

Last One -> npm --version and nodejs --version look the new version

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

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay