1. First check the required environment
node -v
npm -v
2. Download Taobao mirror image cnpm, domestic fast
npm install cnpm -g --registry=https://registry.npm.taobao.org
3. View version
cnpm -v
4. Install vue cli3
npm install -g @vue/cli
or
install vue cli2
cnpm install -g vue-cli
5. View vue version
vue -V
6. Select the directory to install
vue create project (projiect is the file name)
7. Run the vue project
npm run serve