Since my nvm is giving me access denied and status as 1. even after run as administrator in window cmd. I wanted to reinstall nvm as administrator. But not able to uninstall the nvm.
CodePudding user response:
I verified my install nvm path , but trying to reinstall the nvm.exe file. During installation the default path was inside " user\AppData\Roaming\nvm." where I can see the uninstall nvm exe as well. Later I reinstalled the nvm successful as administrator and then I open a new cmd terminal as administrator and able to use and install all version of Node as required.
CodePudding user response:
The clean way to uninstall would be first uninstall all the node packages which you have installed, you can list all those packages using
nvm list
To uninstall a specific NodeJs package run
nvm uninstall v16.13.0
After you have uninstalled all the packages goto the directory
C:\Users\YOUR USER\AppData\Roaming\nvm
there you will see unins***.exe you can perform a clean uninstall there