How to uninstall Node? The following article will share with you the super detailed steps to uninstall Node. Follow this article to uninstall Node step by step. I hope it will be helpful to you!
![Detailed explanation of how to uninstall Node? [Step sharing]](https://img.php.cn/upload/article/000/000/024/63ec87ceac962764.jpg)
Super detailed steps to uninstall Node
1. Open the system’s control panel, click Uninstaller, and uninstall nodejs
![](https://img.php.cn/upload/article/000/000/024/8cbaa811676fd07d73a8ac0711ff5850-0.png)
![](https://img.php.cn/upload/article/000/000/024/dad9afed16aadabb66dddd7485795ce5-1.png)
![](https://img.php.cn/upload/article/000/000/024/a216f747128a9908bb4ba02c79b65cf2-2.png)
![](https://img.php.cn/upload/article/000/000/024/a216f747128a9908bb4ba02c79b65cf2-3.png)
##[Related tutorial recommendations:
nodejs video tutorial, Programming Tutorial】
2. Delete the installation directory of node
The default is C:\Program Files\nodejs, it may also be on other disks, it mainly depends on Choice during installation.
Check whether there is a node file in the path. I don't have it here anymore. After uninstalling node in the control panel, the node file will usually be automatically deleted. If the file is still there, delete it manually.
![](https://img.php.cn/upload/article/000/000/024/8691de7796b061fba2fc1f500e646bc8-4.png)
3. Check whether the .npmrc file exists and delete it if it exists.
The default location is C:\User\username.
![](https://img.php.cn/upload/article/000/000/024/23bbd99d11ed6b266c5f4cde48244168-5.png)
#4. Check the files one by one to see if they exist and delete them if they exist
C:\Program Files (x86)\Nodejs
C:\Program Files\Nodejs
C:\Users\username\AppData\Roaming\npm
C:\Users\username\AppData\Roaming\npm-cache
![](https://img.php.cn/upload/article/000/000/024/23bbd99d11ed6b266c5f4cde48244168-6.png)
5. Open the system settings, check the system environment variables, and delete all node-related configurations
Generally, the system will automatically delete the node environment variables. , you don’t need to worry about this step.
How to open environment variables: My Computer->Properties->Advanced->Environment Variables->Delete Path of User Variables->Delete node in NODE_PATH of System Variables
![](https://img.php.cn/upload/article/000/000/024/77eeae587563eddfe20e65f8456c7a8e-7.png)
6. Check whether the deletion is successful
Press win R on the keyboard, enter cmd, then click the Enter key and enter node -v# in the command line
![](https://img.php.cn/upload/article/000/000/024/77eeae587563eddfe20e65f8456c7a8e-8.png)
##For more node-related knowledge, please visit:
nodejs tutorial
!
The above is the detailed content of Detailed explanation of how to uninstall Node? [Step sharing]. For more information, please follow other related articles on the PHP Chinese website!