One, nvm download version and installation
1.1 nvm installation
1.2 Environment variables after successful installation of nvm
1.3 Directory after successful installation of nvm
root: D:\H5\nvm
path: D:\H5\nodejs
node_mirror:http://npm.taobao.org/mirrors/node/
npm_mirror:http://npm.taobao.org/mirrors/npm/
Install node 8.11.3
1.4 Run the'node -v' command to report an error
If you run the'node -v' command and the system prompts'Access denied', then it is likely that the file downloaded by node is damaged. Delete the existing node version and re-install using the nvm command.Two, node and npm
After the nvm installation is complete, the command lines of node and npm can be used normally.Reference article
Install nvm management node version + webstorm configurationfront-end case-nvm installation and configuration under windows