Windows Uninstall Node.js

0 is written in front

No matter what reason you want to uninstall Node.js, you must uninstall it cleanly.

please read:

1 Uninstall steps

1.1 Uninstall node.js through the control panel

win+R—>control.exe—>Uninstaller—>Uninstall Node.js

Wait —> uninstall successfully

1.2 Delete the nodejs folder during installation

Find the nodejs folder by memory or Everthing search

My path is:

C:\Program Files\nodejs

delete

1.3 Delete files related to node and npm

For example. npmrc file (my file is under C:\Users\Admin)

.node_repl_history delete

.config

1.4 Delete all environment variables related to npm and node

win+r Enter sysdm.cpl—>Advanced—>Environment Variables—>Path (system variables)—>Configured nodejs environment—>Delete.

2 verification

win+r —> cmd

node -v

cmd -v

occurrence is not recognized as an internal or external command, operable program or batch file. On behalf of the successful uninstallation

Linux uninstall nodejs, refer to: How to uninstall nodejs? _51CTO blog_nodejs uninstall

Guess you like

Origin blog.csdn.net/xijinno1/article/details/132094168