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.
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.
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
In your terminal, just type the code below
nvm root
This will show the root path of nvm on your computer.In the folder you can find a unins.exe file. Run it. That's all.
NVM for Windows was created by Corey Butler it is different than the actual NVM.
https://github.com/coreybutler/nvm-windows
the latest version comes with an uninstaller but you can also remove it manually
https://github.com/coreybutler/nvm-windows/wiki#manual-installation
Via the github wiki: "Have a look at the installation path - C:\Users[username]\AppData\Roaming\nvm is the default path. In this folder you'll find unins000.exe. Double-click it and agree to removing NVM and all Node-versions in the following steps."
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.