How to remove Node.js from Windows:

  1. Take a deep breath.

  2. Run npm cache clean --force

  3. Uninstall from Programs & Features with the uninstaller.

  4. Reboot (or you probably can get away with killing all node-related processes from Task Manager).

  5. Look for these folders and remove them (and their contents) if any still exist. Depending on the version you installed, UAC settings, and CPU architecture, these may or may not exist:

  • C:\Program Files (x86)\Nodejs
  • C:\Program Files\Nodejs
  • C:\Users\{User}\AppData\Roaming\npm (or %appdata%\npm)
  • C:\Users\{User}\AppData\Roaming\npm-cache (or %appdata%\npm-cache)
  • C:\Users\{User}\.npmrc (and possibly check for that without the . prefix too)
  • C:\Users\{User}\AppData\Local\Temp\npm-*
  1. Check your %PATH% environment variable to ensure no references to Nodejs or npm exist.

  2. If it's still not uninstalled, type where node at the command prompt and you'll see where it resides -- delete that (and probably the parent directory) too.

  3. Reboot, for good measure.

Answer from brandonscript on Stack Overflow
Top answer
1 of 12
1243

How to remove Node.js from Windows:

  1. Take a deep breath.

  2. Run npm cache clean --force

  3. Uninstall from Programs & Features with the uninstaller.

  4. Reboot (or you probably can get away with killing all node-related processes from Task Manager).

  5. Look for these folders and remove them (and their contents) if any still exist. Depending on the version you installed, UAC settings, and CPU architecture, these may or may not exist:

  • C:\Program Files (x86)\Nodejs
  • C:\Program Files\Nodejs
  • C:\Users\{User}\AppData\Roaming\npm (or %appdata%\npm)
  • C:\Users\{User}\AppData\Roaming\npm-cache (or %appdata%\npm-cache)
  • C:\Users\{User}\.npmrc (and possibly check for that without the . prefix too)
  • C:\Users\{User}\AppData\Local\Temp\npm-*
  1. Check your %PATH% environment variable to ensure no references to Nodejs or npm exist.

  2. If it's still not uninstalled, type where node at the command prompt and you'll see where it resides -- delete that (and probably the parent directory) too.

  3. Reboot, for good measure.

2 of 12
62

Scenario: Removing NodeJS when Windows has no Program Entry for your Node installation

I ran into a problem where my version of NodeJS (0.10.26) could NOT be uninstalled nor removed, because Programs & Features in Windows 7 (aka Add/Remove Programs) had no record of my having installed NodeJS... so there was no option to remove it short of manually deleting registry keys and files.

Command to verify your NodeJS version: node --version

I attempted to install the newest recommended version of NodeJS, but it failed at the end of the installation process and rolled back. Multiple versions of NodeJS also failed, and the installer likewise rolled them back as well. I could not upgrade NodeJS from the command line as I did not have SUDO installed.

SOLUTION: After spending several hours troubleshooting the problem, including upgrading NPM, I decided to reinstall the EXACT version of NodeJS on my system, over the top of the existing installation.

That solution worked, and it reinstalled NodeJS without any errors. Better yet, it also added an official entry in Add/Remove Programs dialogue.

Now that Windows was aware of the forgotten NodeJS installation, I was able to uninstall my existing version of NodeJS completely. I then successfully installed the newest recommended release of NodeJS for the Windows platform (version 4.4.5 as of this writing) without a roll-back initiating.

It took me a while to reach sucess, so I am posting this in case it helps anyone else with a similar issue.

🌐
GeeksforGeeks
geeksforgeeks.org › node.js › how-to-completely-remove-node-js-from-windows
How to Completely Remove Node.js from Windows ? - GeeksforGeeks
June 7, 2024 - So, we need to clean the cache first. The cache can be cleaned by using the following command. ... Step 3: Now open the control panel in the computer. Search for Program and features. Under the program and features click on Uninstall a program. Now search for Node.js and uninstall it.
People also ask

How to uninstall npm in Windows?
The npm can be removed during the process of uninstalling Node.js on Windows. After using Control Panel or Command Prompt to uninstall Node, delete the npm and npm-cache folders from AppDataRoaming.
🌐
visionx.io
visionx.io › home › blog › how to uninstall node.js on different operating systems?
How to Uninstall Node.js on Different Operating Systems? - VisionX
How to remove a Node using JS?
To delete NodeJS files or modules programmatically, use the fs.unlink() method in Node.js. However, to uninstall Node.js itself, follow the OS-specific steps given in this guide.
🌐
visionx.io
visionx.io › home › blog › how to uninstall node.js on different operating systems?
How to Uninstall Node.js on Different Operating Systems? - VisionX
How to uninstall Node, npm, and nvm?
You can completely remove Node.js, npm, and nvm by first using commands like nvm uninstall or nvm remove. Then, delete the remaining Node.js directories and npm cache to finish the Node.js uninstall process.
🌐
visionx.io
visionx.io › home › blog › how to uninstall node.js on different operating systems?
How to Uninstall Node.js on Different Operating Systems? - VisionX
🌐
Softsuave
softsuave.com › home › how to uninstall node js: best practices for a clean uninstall
How to Uninstall Node js: Best Practices for a Clean Uninstall
May 13, 2025 - Open the terminal or command prompt. Type node -v and press Enter to see the Node.js version. Type npm -v and press Enter to see the npm version. Proceed with Uninstallation: Once you have backed up your files and noted the versions, you can ...
🌐
VisionX
visionx.io › home › blog › how to uninstall node.js on different operating systems?
How to Uninstall Node.js on Different Operating Systems? - VisionX
September 4, 2025 - Common directories to check include: ... If these directories exist, delete them to ensure a clean Node.js uninstall. Press Win + R, type cmd, and press Enter to open the Command Prompt.
🌐
CodeForGeek
codeforgeek.com › home › different ways to uninstall node.js from windows: an easy guide
Different Ways to Uninstall Node.js from Windows: An Easy Guide | CodeForGeek
May 27, 2024 - Type cmd and hit Ctrl+Shift+enter to run Command Prompt as administrator. Now, run the following command which uses Node Package Manager to uninstall Nodejs: ... After executing, check for the “nodejs” directory in your system to see whether ...
🌐
Codedamn
codedamn.com › news › node.js
How to uninstall Node.js? Remove Node.js from your system completely
June 2, 2023 - Search for “cmd” in the start menu. Right-click on it and select “Run as administrator“. Or, Press Win+R to open “run“. Enter “cmd” and hit Ctrl+Shift+Enter to open the command prompt as administrator.
🌐
Edureka Community
edureka.co › home › community › categories › web development › node-js › how to completely remove node js from windows
How to completely remove node js from Windows | Edureka Community
I removed my prior version of node.js (0.8.11), then downloaded and installed the current version, 0.10 ... . I'm using a 64-bit version of Windows 7.
Find elsewhere
🌐
Ruslan
ruslan.rocks › home › blog › how to uninstall node.js
How to Uninstall Node.js
June 8, 2023 - Follow the prompts to complete the uninstall process. Once Node.js has been uninstalled, you can verify that it is no longer installed by opening a command prompt and running the command "node -v".
🌐
Scaler
scaler.com › topics › uninstall-node-js
How to uninstall Node.js? - Scaler Topics
September 22, 2023 - Under the "System Properties" window, click on the "Environment Variables" button. In the "System variables" section, locate and select "Path," then click "Edit." Remove any Node. js-related paths from the list.
🌐
iO Flood
ioflood.com › blog › uninstall-npm
How to Uninstall Node.js and npm | Step-by-Step Guide
March 26, 2024 - For Windows users, the process is straightforward thanks to the ‘Add or Remove Programs’ feature. 1. Open the Start Menu and search for ‘Add or Remove Programs’. 2. Scroll to find Node.js in the list and select ‘Uninstall’.
🌐
YouTube
youtube.com › code loop world
📌How to Uninstall node.js on Windows 10. | uninstall node js | Uninstall Node.js in Windows 2022 - YouTube
we are going to uninstall the old version of node js and install the latest version.in this videos we are going to see how to remove or uninstall node js com...
Published   November 7, 2022
Views   6K
🌐
Medium
medium.com › @nsivadharshini1 › how-to-uninstall-node-js-from-windows-22ba3ba61905
How to Uninstall Node.js from Windows - Sivadharshini - Medium
July 30, 2024 - 3. Scroll through the list of installed ... npm-cache folders, typically found in C:\Users\YourUsername\AppData\Roaming\. Step 1: Open Command Prompt....
🌐
YouTube
youtube.com › finegap
How to Uninstall Node.js on Windows 11 - YouTube
Please show your support by subscribing to my channel so that I can improve my content Insh'Allah, ThanksBuy Me a Coffee:Paypal: https://paypal.me/finegap?co...
Published   May 29, 2023
Views   6K
🌐
Kalliphant
kalliphant.com › nodejs-npm-windows-install
How to install/uninstall Node.js and npm on Microsoft Windows – Kalliphant
You should get output like below ... Standard Time) c:kalliphant> C:kalliphant> To uninstall node.js and npm, Open Windows "Control Panel" -> "Uninstall a program", select Node.js and click on uninstall to uninstaill both node.js and npm...
🌐
Linux Hint
linuxhint.com › remove-nodejs-windows
How to Remove Node.js From Windows
Linux Hint LLC, [email protected] 1210 Kelly Park Circle, Morgan Hill, CA 95037 Privacy Policy and Terms of Use
🌐
YouTube
youtube.com › watch
How to Uninstall Node.js in Windows [2025 Tutorial] - YouTube
How to Uninstall Node.js in Windows [2025 Tutorial]Looking to uninstall Node.js from your Windows system? In this step-by-step tutorial, we’ll guide you thro...
Published   January 10, 2025
🌐
Designerly
designerly.com › uninstall-node
How To Uninstall Node.js + Troubleshooting Tips - Designerly
June 27, 2024 - Using Windows Add or Remove Programs, go to the Control Panel and select Programs > Programs and Features. Scroll through the list of installed programs and find Node.js. Click on Node.js and choose Uninstall.
🌐
Hows.tech
hows.tech › 2025 › 05 › how-to-uninstall-node-js-in-windows-11.html
How To Uninstall Node Js In Windows 11
Open Command Prompt (or PowerShell) again. Check Node.js Version: Type node -v and press Enter. You should now get an error message like "'node' is not recognized...". Check npm Version: Type npm -v and press Enter. You should also get an error message like "'npm' is not recognized...". If ...
🌐
Wuschools
wuschools.com › how-to-uninstall-node-js-completely-windows
How to Uninstall Node.js Completely (Windows, macOS, Linux)
August 5, 2025 - Learn how to uninstall Node.js completely on Windows, macOS, and Linux with step-by-step instructions, cleanup tips, and best practices.