Node.js

Uninstalling Node.js

Completely uninstall Node.js on Mac OSX

In Terminal on your Mac operating system, enter the following 2 commands:

lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do  sudo rm /usr/local/${f}; done

sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*

Uninstall Node.js on Windows

To uninstall Node.js on Windows, use Add or Remove Programs like this:

  1. Open Add or Remove Programs from the start menu.
  2. Search for Node.js.

Windows 10: 3. Click Node.js.

  1. Click Uninstall.
  2. Click the new Uninstall button.

Windows 7-8.1: 3. Click the Uninstall button under Node.js.


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow