Skip to content

Instantly share code, notes, and snippets.

@siygle
Created June 21, 2013 08:12
Show Gist options
  • Select an option

  • Save siygle/5829681 to your computer and use it in GitHub Desktop.

Select an option

Save siygle/5829681 to your computer and use it in GitHub Desktop.
Dump npm global packages list
# Might have better command, but should work at least. ;p
npm list -g --depth=0 | awk '{print $2}' | awk -F '@' '{print $1}' | tr "\\n" " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment