Reputation: 826
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.
Upvotes: 18
Views: 87062
Reputation: 1544
Uninstall using the control panel's uninstall or change a program.
Upvotes: 1
Reputation: 3370
The clean way to uninstall would be first to 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 go to the directory
C:\Users\%USERNAME%\AppData\Roaming\nvm
there you will see unins***.exe you can perform a clean uninstall there.
This will only work if you are or have installed all the node versions using NVM (Node Version Manager)
Upvotes: 35
Reputation: 410
NVM for Windows was created by Corey Butler it is different than the actual NVM.
The latest version comes with an uninstaller but you can also remove it manually.
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 findunins000.exe
. Double-click it and agree to removing NVM and all Node-versions in the following steps.
Upvotes: 8
Reputation: 826
I verified my install nvm path and tried to reinstall the nvm.exe
file. During installation the default path was %APPDATA%\nvm
, where I can see the uninstall nvm exe as well. Then I reinstalled the nvm successful as administrator and then I open a new cmd terminal as administrator and was able to use and install all version of Node as required.
Upvotes: 0
Reputation: 241
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.
Upvotes: 24