How to Update npm Version in Linux
Hello devs in this tutorial i am going to show you how to update npm version in debian or any linux distros. Todays i was facing error for installing some node packages. After upgrading npm version the error was gone.
So i decided that i will show you the way of upgrading npm version in a simple way. Let's see how we can upgrade npm version. See the below image that i followed.
To upgrade npm version, just run below command:
npm install npm -g
That's all. Hope it can help you.