The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / deps / npm / man / man1 / ls.1 @ 5aef65a9

History | View | Annotate | Download (1.79 KB)

1 54a4c639 isaacs
.\" Generated with Ronnjs 0.3.8
2 e85a95df isaacs
.\" http://github.com/kapouer/ronnjs/
3
.
4 5aef65a9 isaacs
.TH "NPM\-LS" "1" "February 2013" "" ""
5 e85a95df isaacs
.
6
.SH "NAME"
7
\fBnpm-ls\fR \-\- List installed packages
8
.
9
.SH "SYNOPSIS"
10
.
11
.nf
12 54a4c639 isaacs
npm list [<pkg> \.\.\.]
13
npm ls [<pkg> \.\.\.]
14
npm la [<pkg> \.\.\.]
15
npm ll [<pkg> \.\.\.]
16 e85a95df isaacs
.
17
.fi
18
.
19
.SH "DESCRIPTION"
20
This command will print to stdout all the versions of packages that are
21
installed, as well as their dependencies, in a tree\-structure\.
22
.
23
.P
24 54a4c639 isaacs
Positional arguments are \fBname@version\-range\fR identifiers, which will
25
limit the results to only the paths to the packages named\.  Note that
26
nested packages will \fIalso\fR show the paths to the specified packages\.
27
For example, running \fBnpm ls promzard\fR in npm\'s source tree will show:
28
.
29
.IP "" 4
30
.
31
.nf
32 5aef65a9 isaacs
npm@1.2.10 /path/to/npm
33 54a4c639 isaacs
└─┬ init\-package\-json@0\.0\.4
34
  └── promzard@0\.1\.5
35
.
36
.fi
37
.
38
.IP "" 0
39 e85a95df isaacs
.
40
.P
41 54a4c639 isaacs
It will show print out extraneous, missing, and invalid packages\.
42 e85a95df isaacs
.
43
.P
44
When run as \fBll\fR or \fBla\fR, it shows extended information by default\.
45
.
46
.SH "CONFIGURATION"
47
.
48 54a4c639 isaacs
.SS "json"
49
.
50
.IP "\(bu" 4
51
Default: false
52
.
53
.IP "\(bu" 4
54
Type: Boolean
55
.
56
.IP "" 0
57
.
58
.P
59
Show information in JSON format\.
60
.
61 e85a95df isaacs
.SS "long"
62
.
63
.IP "\(bu" 4
64
Default: false
65
.
66
.IP "\(bu" 4
67
Type: Boolean
68
.
69
.IP "" 0
70
.
71
.P
72
Show extended information\.
73
.
74
.SS "parseable"
75
.
76
.IP "\(bu" 4
77
Default: false
78
.
79
.IP "\(bu" 4
80
Type: Boolean
81
.
82
.IP "" 0
83
.
84
.P
85
Show parseable output instead of tree view\.
86
.
87
.SS "global"
88
.
89
.IP "\(bu" 4
90
Default: false
91
.
92
.IP "\(bu" 4
93
Type: Boolean
94
.
95
.IP "" 0
96
.
97
.P
98
List packages in the global install prefix instead of in the current
99
project\.
100
.
101
.SH "SEE ALSO"
102
.
103
.IP "\(bu" 4
104
npm help config
105
.
106
.IP "\(bu" 4
107
npm help folders
108
.
109
.IP "\(bu" 4
110
npm help install
111
.
112
.IP "\(bu" 4
113
npm help link
114
.
115
.IP "\(bu" 4
116
npm help prune
117
.
118
.IP "\(bu" 4
119
npm help outdated
120
.
121
.IP "\(bu" 4
122
npm help update
123
.
124
.IP "" 0