[Node] Remove all global modules

Posted . Visible to the public.

Very usefull for resolve conflicts

npm -g ls | grep -v 'npm@' | awk '/@/ {print $2}' | awk -F@ '{print $1}' | xargs npm -g rm

Ferran
Tags
Posted by Ferran to ZeroGlosa (2015-07-09 20:03)