How to uninstall Gulp CLI from NPM globally?

前端 未结 4 1307
我在风中等你
我在风中等你 2021-01-23 15:40

I have the following package installed globally via npm:

+-- gulp-cli@2.0.1 (github:gulpjs/gulp-cli#4782b9a582ce7cc7e009073705a565b57d235332)

I

相关标签:
4条回答
  • 2021-01-23 15:44

    Thanks to R. Wanjohi I figured it out for my machine. I had to do the following to get the global version of gulp cli off my machine:

    npm rm -g gulp-cli
    
    0 讨论(0)
  • 2021-01-23 15:49

    it's pretty simple, to uninstall a global package run

    npm uninstall -g <package-name>
    

    to verify run

    npm ls -g --depth=0
    

    for short videos

    0 讨论(0)
  • 2021-01-23 15:50

    I was experiencing the same problem but when I used the following code, it worked:

    npm rm -g gulp
    
    0 讨论(0)
  • 2021-01-23 15:55

    You need to uninstall it globally (add the -g tag)

    npm uninstall -g gulp-cli@2.0.1
    

    Here is the npm docs: https://docs.npmjs.com/cli/uninstall.html

    0 讨论(0)
提交回复
热议问题