打开cmd输入 npm config set registry https://registry.npm.taobao.org输入 npm config get registry 验证是否成功 输入 cnpm install -g @vue/cli输入 vue ui 跳出页面就可以设置了