npm list -g --depth=0
Created
November 1, 2016 19:34
-
-
Save brenopolanski/4aec3240bf30889576f9badd2e745fc3 to your computer and use it in GitHub Desktop.
Listing globally installed NPM packages and version
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
@drdhruti315 @andreipaz If you are talking about this:

The plus signs are from git and represent a line addition (and displayed green) while a line deletion is a minus sign and displayed red. The ``` are from markdown and used to highlight a code block.