#!/usr/bin/env bash # Call this script to delete npm. # This is a self-deleting script, so no need to scrub it afterwards :D rm -r /usr/local/lib/node/lib/node_modules/npm rm /usr/local/bin/delete_npm;