DEV Community

slumboy
slumboy

Posted on

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

Discussion (0)