更换淘宝镜像 npm install -g cnpm --registry=https://registry.npm.taobao.org 安装指定版本 cnpm install -g @vue/cli@3.12.1 卸载 npm uninstall -g @vue/cli