DEV Community 👩‍💻👨‍💻

jeann
jeann

Posted on

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)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.