How to uninstall npm package?

后端 未结 6 670
深忆病人
深忆病人 2020-12-12 12:47

I\'ve installed grunt using sudo npm install grunt and now I can\'t remove it.

I\'ve tried:

$ sudo npm uninstall grunt
         


        
6条回答
  •  囚心锁ツ
    2020-12-12 13:44

    If it's installed globally add -g to uninstall and probably you will need sudo

    sudo npm uninstall -g grunt 
    

提交回复
热议问题