Solution:
1. First, the installation directory should be free of spaces and Chinese
2. Check whether the administrator permission is turned on and check the steps
3. Change environment variables
NVM_HOME
should be the installation directory of nvm, such as C:\development\nvm
NVM_SYMLINK
should be the directory of nodejs, as follows
should be C:\development\NVM\v16.13.0
note that both user variables and system variables need to be changed, and then OK OK
4. Close the terminal, reopen it, and then use NVM use
.