Bootstrap FreeKB - NodeJS - npm uninstall
NodeJS - npm uninstall

Updated:   |  NodeJS articles

Let's say you have installed the Sails package locally (without the -g or --global) flag into your present working directory. The npm list command without the -g or --global flag should show that Sails is installed locally.

~]# npm list
root@ /root
sails@1.4.4

 

The npm uninstall command without the -g or --global flag can be used to uninstall a local package. In this example, Sails in the present working directory will be uninstalled.

npm uninstall sails

 

Similarly, the -g or --global flag can be used to uninstall packages that were installed using the -g or --global flag.

npm uninstall sails --global

 




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 ef2bcc in the box below so that we can be sure you are a human.