GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NPM-LS (1)

NAME

npm-ls - List installed packages

CONTENTS

Description
Configuration
See Also

SYNOPSIS

npm list [[@<scope>/]<pkg> ...]
npm ls [[@<scope>/]<pkg> ...]
npm la [[@<scope>/]<pkg> ...]
npm ll [[@<scope>/]<pkg> ...]

DESCRIPTION

This command will print to stdout all the versions of packages that are installed, as well as their dependencies, in a tree-structure.

Positional arguments are name@version-range identifiers, which will limit the results to only the paths to the packages named. Note that nested packages will also show the paths to the specified packages. For example, running npm ls promzard in npm’s source tree will show:

npm@2.14.7 /path/to/npm
└─┬ init-package-json@0.0.4
  └── promzard@0.1.5

It will print out extraneous, missing, and invalid packages.

If a project specifies git urls for dependencies these are shown in parentheses after the name@version to make it easier for users to recognize potential forks of a project.

When run as ll or la, it shows extended information by default.

CONFIGURATION

    json

o Default: false
o Type: Boolean

Show information in JSON format.

    long

o Default: false
o Type: Boolean

Show extended information.

    parseable

o Default: false
o Type: Boolean

Show parseable output instead of tree view.

    global

o Default: false
o Type: Boolean

List packages in the global install prefix instead of in the current project.

    depth

o Type: Int

Max display depth of the dependency tree.

    prod / production

o Type: Boolean
o Default: false

Display only the dependency tree for packages in dependencies.

    dev

o Type: Boolean
o Default: false

Display only the dependency tree for packages in devDependencies.

SEE ALSO

o npm help config
o npm help 7 config
o npm help 5 npmrc
o npm help 5 folders
o npm help install
o npm help link
o npm help prune
o npm help outdated
o npm help update

Search for    or go to Top of page |  Section 1 |  Main Index


NPM-LS (1) October 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.