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!
DISCUSSION
Classic DEV Post from Jun 18

Who's looking for open source contributors? (June 18 edition)

Please shamelessly promote your project. Everyone who posted in previous weeks is welcome back this week, as always.

READ POST
Follow @ben to see more of their posts in your feed.
slumboy
i'm Java Programmer
Trending on dev.to
Tried TDD and didn't realize the benefits? Try it the next time you get writer's block
#javascript #node #testing #unittesting
Composable HTTP Client for NodeJS
#functional #javascript #fp #node
The web built by node and vue, imitate Twitter's UI and feature
#node #vue #jwt #mongoose
Node.js vs PHP
#node #php #programming
MVPs and Iterating Your Way to a Finished Product
#opensource #npm #github
Solving Japanese learning problems with code
#japanese #beginners #node #script