1 .TH "NPM\-LS" "1" "October 2016" "" ""
3 \fBnpm-ls\fR \- List installed packages
8 npm list [[@<scope>/]<pkg> \.\.\.]
9 npm ls [[@<scope>/]<pkg> \.\.\.]
10 npm la [[@<scope>/]<pkg> \.\.\.]
11 npm ll [[@<scope>/]<pkg> \.\.\.]
16 This command will print to stdout all the versions of packages that are
17 installed, as well as their dependencies, in a tree\-structure\.
19 Positional arguments are \fBname@version\-range\fP identifiers, which will
20 limit the results to only the paths to the packages named\. Note that
21 nested packages will \fIalso\fR show the paths to the specified packages\.
22 For example, running \fBnpm ls promzard\fP in npm's source tree will show:
26 npm@2.15.11 /path/to/npm
27 └─┬ init\-package\-json@0\.0\.4
32 It will print out extraneous, missing, and invalid packages\.
34 If a project specifies git urls for dependencies these are shown
35 in parentheses after the name@version to make it easier for users to
36 recognize potential forks of a project\.
38 When run as \fBll\fP or \fBla\fP, it shows extended information by default\.
49 Show information in JSON format\.
59 Show extended information\.
69 Show parseable output instead of tree view\.
79 List packages in the global install prefix instead of in the current
88 Max display depth of the dependency tree\.
98 Display only the dependency tree for packages in \fBdependencies\fP\|\.
108 Display only the dependency tree for packages in \fBdevDependencies\fP\|\.