'nvm unable to switch version , show me error exec: "cmd": executable file not found in %PATH%:

C:\Users\HP>nvm list

  • 16.13.0 (Currently using 64-bit executable) 15.0.0

C:\Users\HP>nvm use 15.0.0 exec: "cmd": executable file not found in %PATH%:

C:\Users\HP>nvm root

Current Root: C:\Users\HP\AppData\Roaming\nvm

C:\Users\HP>

nvm


Solution 1:[1]

Run nvm use 15.0.0 again as administrator, this works for me.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 wangzhuo