Home  >  Article  >  Web Front-end  >  How to delete nodejs

How to delete nodejs

青灯夜游
青灯夜游Original
2021-09-15 16:56:4923901browse

How to delete nodejs: 1. Open the "Control Panel" and click "Uninstall a Program"; 2. In the "Uninstall or Change Program" interface, find and select the "node.js" program, right-click and select "Uninstall"; 3. Restart the computer; 4. Delete all files or directories related to node.

How to delete nodejs

The operating environment of this tutorial: windows7 system, nodejs version 14.15.4, DELL G3 computer.

How to delete nodejs:

1. Uninstall nodejs

Open the "Control Panel" , click "Uninstall a program"

How to delete nodejs

How to delete nodejs

In the "Uninstall or change program" interface, find and select the node.js program, right-click the mouse Select "Uninstall"

How to delete nodejs

2. After the node program is uninstalled, restart the computer

3. Delete the related files or directories of node.js

Look for these folders and delete them (and their contents) if they are still there. Depending on your installed version, UAC settings and CPU architecture, these may or may not be present:

  • 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)

4. Check your % PATH% environment variable to ensure no references to Nodejs or npm exist.

5. If it is still not uninstalled, please type where node at the command prompt and you will see where it is - delete (it may also be the parent directory).

[Recommended learning: "nodejs tutorial"]

The above is the detailed content of How to delete nodejs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to uninstall vuejsNext article:How to uninstall vuejs