Skip to content

Instantly share code, notes, and snippets.

@springaki
Created October 24, 2015 06:07
Show Gist options
  • Save springaki/652cdb16fdf3c39d3c27 to your computer and use it in GitHub Desktop.
Save springaki/652cdb16fdf3c39d3c27 to your computer and use it in GitHub Desktop.
Node.js & npm のアンインストール
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom \
| while read i; do
sudo rm /usr/local/${i}
done
sudo rm -rf /usr/local/lib/node \
/usr/local/lib/node_modules \
/var/db/receipts/org.nodejs.*
sudo rm -rf ~/.npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment