Home > Web Front-end > Front-end Q&A > How to delete nodejs

How to delete nodejs

青灯夜游
Release: 2023-02-17 14:23:40
Original
23951 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template