vue-cli安装后,版本号始终是2.9.6 作者:马育民 • 2022-09-19 13:25 • 阅读:10042 # 卸载 ``` npm uninstall -g vue-cli 卸载旧版、 npm uninstall -g @vue/cli 卸载新版 ``` # 删除残留文件(关键) cmd中输入 ``` where vue ``` 将显示的目录删除掉 # 安装vue-cli ``` npm install -g @vue/cli ``` https://blog.csdn.net/weixin_42805961/article/details/126614797 原文出处:http://malaoshi.top/show_1IX44mjoSuaj.html