How to remove npm ?


  • Ok, so npm stands for Node Package Manager, and trust me, it's really an awesome thing. 
  • It is a package manager for various things, like angular, node (default), gulp, grunt, mobile, javascript and many more.
  • But, it is also important to know, how to uninstall npm from the system to get a fresh npm later.
  • So, here it goes
$ sudo npm uninstall npm -g
$ npm -v
  • To remove everything related to npm,
$ rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/npm*


Simple..!!!


Enjoy Linux
+CentOS

    0 comments:

    Post a Comment