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


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 May 23

What image-hosting sites do you use?

Hi everyone πŸ™‚! I'm curious to know what image hosting sites you use and if you ...

i'm Java Programmer
Join dev.to

The fastest growing software community.
Free forever.