something like git clone ; cd npm; bin/npm --global-dir /usr/local/lib uninstall -g npm