Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
Created November 1, 2016 19:34
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