全局安装:npm install vue-cli -g; 全局卸载:npm uninstall vue-cli -g; 查看vue版本,vue -V 回车,查看vue最新的版本。 转载于:https://www.cnblogs.com/wang715100018066/p/7677064.html