Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
Created November 1, 2016 19:34
Show Gist options
  • Save brenopolanski/4aec3240bf30889576f9badd2e745fc3 to your computer and use it in GitHub Desktop.
Save brenopolanski/4aec3240bf30889576f9badd2e745fc3 to your computer and use it in GitHub Desktop.
Listing globally installed NPM packages and version
npm list -g --depth=0
@cortesa
Copy link

cortesa commented Mar 2, 2019

why is --depth=0 necessary?

with it, it also shows all the dependencies tree
try to do it without this... it shows only first braches on the tree (installed package names)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment