If you originally downloaded node, you can uninstall it first, and then click on this URL to download (very soon)
https://cdn.npm.taobao.org/dist/node/v14.14.0/node-v14.14.0-x64.msi
The node downloaded from this website can automatically configure environment variables, saving you a lot of trouble.
Next, download cnpm, why not increase the speed?
In cmd, remember to open it as an administrator, enter
npm install -g cnpm --registry=https://registry.npm.taobao.org
Check the version
Install vue with cnpm
cnpm install -g @vue/cli
When installing vue cli, configure the environment variables
Use vue --version 或者 vue -V
(V is uppercase) to check the version
Then, what are you doing? You can hit vue ui on the command line and start staying up late, respected workers, hehe.
(I am a noob, there may be errors in the article, criticism and corrections from the big guys are welcome)