Bootstrap FreeKB - NodeJS - Update npm on Linux
NodeJS - Update npm on Linux

Updated:   |  NodeJS articles

The npm install command can be used to update npm. Before updating npm, the npm --version command can be used to display the current version of npm.

~]# npm --version
6.14.13

 

The following command will update npm to the latest stable version.

npm install npm@latest --global

 

Then reissued the npm --version command.

~]# npm --version
7.20.3

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 6cf325 in the box below so that we can be sure you are a human.