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.

 

update-npm-version-on-linux

To upgrade npm version, just run below command:

npm install npm -g

 

That's all. Hope it can help you.

 

Facebook Github
A web enthusiastic, self-motivated Full-Stack Web Developer from Dhaka, Bangladesh with experience in developing applications using Laravel Vue and React Js Application.