Windows local deployment of Easy Mock (1) nvm installation and configuration
nvm: a tool for node version management
Installation Notes:
download
- nvm official download address: https://github.com/coreybutler/nvm-windows/releases, download nvm-setup.zip and install after decompression
- Link: https://pan.baidu.com/s/1rs5DvoTUxhsJSd5tOOiASA Extraction code: 9fkv
Installation notes
- Do not have Chinese and spaces in the nvm installation directory
- Do not have Chinese characters and spaces in the directory where you are going to install node
Confirm after installation
nvm -v
At this point, the nvm installation is complete
If the following situation occurs, you need to configure environment variables
Nvm environment variable configuration
This computer-"Properties-"Advanced System Configuration-"Environmental Variables
Add two environment variables
- NVM_HOME: The directory where nvm is installed (D:\nvm)
- NVM_SYMLINK: The directory where node is to be installed (D:\nvm\nodejs)
- Add the two just added in Path and
click OK after adding it, and finally reconfirm nvm -v