Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v0.2.12
Fetching contributors…

Cannot retrieve contributors at this time

69 lines (68 sloc) 1.253 kB
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LIST" "1" "November 2010" "" ""
.
.SH "NAME"
\fBnpm-list\fR \-\- List installed packages
.
.SH "SYNOPSIS"
.
.nf
npm list
npm ls
.
.fi
.
.SH "DESCRIPTION"
This command will print to stdout all the versions of packages that are
either installed or available in the registry, with their tags and whether
or not they\'re active and/or stable\.
.
.P
To filter a single package or state, you can provide words to filter on
and highlight (if appropriate)\. For instance, to see all the stable
packages, you could do this:
.
.IP "" 4
.
.nf
npm ls stable
.
.fi
.
.IP "" 0
.
.P
Another common usage is to find the set of all packages that are
installed\. This can be accomplished by doing this:
.
.IP "" 4
.
.nf
npm ls installed
.
.fi
.
.IP "" 0
.
.P
Strings are matched using the JavaScript "split" function, so regular
expression strings are ok\. However, the highlighting is a simple
split/join, so regexps probably won\'t get the funky colors\.
.
.P
You can also provide default arguments that are appended to all npm ls
executions
.
.IP "" 4
.
.nf
npm config set listopts remote
.
.fi
.
.IP "" 0
.
.P
This will append the remote argument each time \fBnpm ls\fR is called\.
Jump to Line
Something went wrong with that request. Please try again.