查看全局安装npm命令: npm list --depth 0 -g 卸载全局安装npm命令: npm uninstall -g <package> (可以不写版本) 转载于:https://www.cnblogs.com/taoshengyijiuai/p/7656465.html