Skip to content

Instantly share code, notes, and snippets.

View FullHeleno's full-sized avatar
🏠
Working from home

Fúlvio Heleno Sanches de Lima FullHeleno

🏠
Working from home
  • Full Heleno Info Solutions
  • Brazil - Rio de Janeiro
View GitHub Profile
@FullHeleno
FullHeleno / gist:cb997e711f047feb95ef0917fcceb6fc
Created July 10, 2016 23:35 — forked from tonymtz/gist:d75101d9bdf764c890ef
Uninstall nodejs from OSX Yosemite
# first:
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.*
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following:
# go to /usr/local/lib and delete any node and node_modules
cd /usr/local/lib
sudo rm -rf node*
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.