Skip to content

Instantly share code, notes, and snippets.

@doctyper
Created September 13, 2012 22:50
Show Gist options
  • Save doctyper/3718320 to your computer and use it in GitHub Desktop.
Save doctyper/3718320 to your computer and use it in GitHub Desktop.

Revisions

  1. doctyper created this gist Sep 13, 2012.
    1 change: 1 addition & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    npm list -g | awk '/@/ {print $2}' | grep '@' | awk -F@ '{print $1}' | xargs npm -g uninstall