Home > Web Front-end > JS Tutorial > body text

How to delete nodejs

藏色散人
Release: 2021-10-28 11:30:16
Original
11065 people have browsed it

Method to delete nodejs: 1. Uninstall the node program from the "Uninstall Program" interface of the "Control Panel"; 2. Kill all node-related processes; 3. Check the environment variables to ensure that Nodejs is not referenced Or npm exists.

How to delete nodejs

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

How to delete nodejs?

Completely delete nodejs:

#1. Uninstall the node program from the "Uninstall a Program" interface in the "Control Panel".

How to delete nodejs

(You can refer to: How to uninstall the node installed on the computer?)

2. Restart (or you may start from the task Kill all node-related processes in the manager).

3. Find these folders and delete them (and their contents) (if there are any). 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 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: "node.js Video 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!