File Explorer

/var/lang/lib/node_modules/npm/man/man1

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
70 files
npm-ll.16.4 KB · 232 lines
.TH "NPM-LL" "1" "February 2026" "NPM@11.11.0" "".SH "NAME"\fBnpm-ll\fR - List installed packages.SS "Synopsis".P.RS 2.nfnpm ll \[lB]\[lB]<@scope>/\[rB]<pkg> ...\[rB] alias: la.fi.RE.SS "Description".PList installed packages.SS "Configuration".SS "\fBall\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PWhen running \fBnpm outdated\fR and \fBnpm ls\fR, setting \fB--all\fR will show all outdated or installed packages, rather than only those directly depended upon by the current project..SS "\fBjson\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PWhether or not to output JSON data, rather than the normal output..RS 0.IP \(bu 4In \fBnpm pkg set\fR it enables parsing set values with JSON.parse() before saving them to your \fBpackage.json\fR..RE 0 .PNot supported by all npm commands..SS "\fBlong\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PShow extended information in \fBls\fR, \fBsearch\fR, and \fBhelp-search\fR..SS "\fBparseable\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .POutput parseable results from commands that write to standard output. For \fBnpm search\fR, this will be tab-separated table format..SS "\fBglobal\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .POperates in "global" mode, so that packages are installed into the \fBprefix\fR folder instead of the current working directory. See npm help folders for more on the differences in behavior..RS 0.IP \(bu 4packages are installed into the \fB{prefix}/lib/node_modules\fR folder, instead of the current working directory..IP \(bu 4bin files are linked to \fB{prefix}/bin\fR.IP \(bu 4man pages are linked to \fB{prefix}/share/man\fR.RE 0 .SS "\fBdepth\fR".RS 0.IP \(bu 4Default: \fBInfinity\fR if \fB--all\fR is set; otherwise, \fB0\fR.IP \(bu 4Type: null or Number.RE 0 .PThe depth to go when recursing packages for \fBnpm ls\fR..PIf not set, \fBnpm ls\fR will show only the immediate dependencies of the root project. If \fB--all\fR is set, then npm will show all dependencies by default..SS "\fBomit\fR".RS 0.IP \(bu 4Default: 'dev' if the \fBNODE_ENV\fR environment variable is set to 'production'; otherwise, empty..IP \(bu 4Type: "dev", "optional", or "peer" (can be set multiple times).RE 0 .PDependency types to omit from the installation tree on disk..PNote that these dependencies \fIare\fR still resolved and added to the \fBpackage-lock.json\fR or \fBnpm-shrinkwrap.json\fR file. They are just not physically installed on disk..PIf a package type appears in both the \fB--include\fR and \fB--omit\fR lists, then it will be included..PIf the resulting omit list includes \fB'dev'\fR, then the \fBNODE_ENV\fR environment variable will be set to \fB'production'\fR for all lifecycle scripts..SS "\fBinclude\fR".RS 0.IP \(bu 4Default:.IP \(bu 4Type: "prod", "dev", "optional", or "peer" (can be set multiple times).RE 0 .POption that allows for defining which types of dependencies to install..PThis is the inverse of \fB--omit=<type>\fR..PDependency types specified in \fB--include\fR will not be omitted, regardless of the order in which omit/include are specified on the command-line..SS "\fBlink\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PUsed with \fBnpm ls\fR, limiting output to only those packages that are linked..SS "\fBpackage-lock-only\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PIf set to true, the current operation will only use the \fBpackage-lock.json\fR, ignoring \fBnode_modules\fR..PFor \fBupdate\fR this means only the \fBpackage-lock.json\fR will be updated, instead of checking \fBnode_modules\fR and downloading dependencies..PFor \fBlist\fR this means the output will be based on the tree described by the \fBpackage-lock.json\fR, rather than the contents of \fBnode_modules\fR..SS "\fBunicode\fR".RS 0.IP \(bu 4Default: false on windows, true on mac/unix systems with a unicode locale, as defined by the \fBLC_ALL\fR, \fBLC_CTYPE\fR, or \fBLANG\fR environment variables..IP \(bu 4Type: Boolean.RE 0 .PWhen set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs..SS "\fBworkspace\fR".RS 0.IP \(bu 4Default:.IP \(bu 4Type: String (can be set multiple times).RE 0 .PEnable running a command in the context of the configured workspaces of the current project while filtering by running only the workspaces defined by this configuration option..PValid values for the \fBworkspace\fR config are either:.RS 0.IP \(bu 4Workspace names.IP \(bu 4Path to a workspace directory.IP \(bu 4Path to a parent workspace directory (will result in selecting all workspaces within that folder).RE 0 .PWhen set for the \fBnpm init\fR command, this may be set to the folder of a workspace which does not yet exist, to create the folder and set it up as a brand new workspace within the project..PThis value is not exported to the environment for child processes..SS "\fBworkspaces\fR".RS 0.IP \(bu 4Default: null.IP \(bu 4Type: null or Boolean.RE 0 .PSet to true to run the command in the context of \fBall\fR configured workspaces..PExplicitly setting this to false will cause commands like \fBinstall\fR to ignore workspaces altogether. When not set explicitly:.RS 0.IP \(bu 4Commands that operate on the \fBnode_modules\fR tree (install, update, etc.) will link workspaces into the \fBnode_modules\fR folder. - Commands that do other things (test, exec, publish, etc.) will operate on the root project, \fIunless\fR one or more workspaces are specified in the \fBworkspace\fR config..RE 0 .PThis value is not exported to the environment for child processes..SS "\fBinclude-workspace-root\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PInclude the workspace root when workspaces are enabled for a command..PWhen false, specifying individual workspaces via the \fBworkspace\fR config, or all workspaces via the \fBworkspaces\fR flag, will cause npm to operate only on the specified workspaces, and not on the root project..PThis value is not exported to the environment for child processes..SS "\fBinstall-links\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PWhen set file: protocol dependencies will be packed and installed as regular dependencies instead of creating a symlink. This option has no effect on workspaces..SS "See Also".RS 0.IP \(bu 4npm help "help config".RE 0