Update npm && node

i'm use deepin os

1.sudo npm cache clean -f && npm install -g n

2.sudo n stable

3.wait a minute

4. Check node -v && npm -v


Bonus

you can check enviroment node and npm

npm doctor

Image of desktop

Did you find this post useful? Show some love!
Classic DEV Post from Apr 29

What are the latest trends in front-end JavaScript?

What are the newest popular ideas and/or projects? What's trending up and what'...

READ POST
Follow @ben to see more of their posts in your feed.
slumboy
i'm Java Programmer
Trending on dev.to
Online NPM downloads calculator
#javascript #npm
The beast that is Array.prototype.reduce
#node #javascript #reduce #functional
Setup Continuous Integration with Travis CI in Your Nodejs App
#node #ci #travis
How to start machine learning with Keras (Ubuntu, Linux)
#python #keras #beginners #ubuntu
Sails.js is a Node.js MVC framework inspired by Ruby on Rails
#mvc #webdev #javascript #node
How to make beautiful, simple CLI apps with Node
#javascript #node #cli #productivity
Build a simple app using Node JS and MySQL.
#node #mysql