Home > Web Front-end > JS Tutorial > How to completely delete nodejs

How to completely delete nodejs

藏色散人
Release: 2023-01-11 09:19:39
Original
30550 people have browsed it

How to completely delete nodejs: 1. Uninstall from the uninstaller; 2. Kill all node-related processes from the task manager; 3. Check the "%PATH%" environment variable; 4. Just enter where node at the command prompt and delete it.

How to completely delete nodejs

The operating environment of this article: Windows 7 system, nodejs version 10.16.2, DELL G3 computer

How to completely delete nodejs?

Complete uninstall to remove Nodejs under Window:

1. Uninstall programs and features from the uninstaller.

How to completely delete nodejs

# 2. Restart (or you may kill all node related processes from task manager).

3. Find 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(或%appdata%\npm)
C:\Users\{User}\AppData\Roaming\npm-cache(或%appdata%\npm-cache)
Copy after login

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

5. If it still doesn't uninstall, type where node in the command prompt and you will see where it is - delete (maybe the parent directory too).

6. Reboot, for good measure.

Recommended learning: "node video tutorial"

The above is the detailed content of How to completely 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