如何卸载命令行全局安装的包
路径
~ sakura$ cd /usr/local/lib
查看
~ sakura$ ls
进入
~ sakura$ cd node_modules
删除gulp包
~ sakura$ sudo rm -r -f gulp
查看版本
~ sakura$ gulp -v
显示:-bash: /usr/local/bin/gulp: No such file or directory
~ sakura$ cd /usr/local/lib
~ sakura$ ls
~ sakura$ cd node_modules
~ sakura$ sudo rm -r -f gulp
~ sakura$ gulp -v
显示:-bash: /usr/local/bin/gulp: No such file or directory