codekingpro/portable-devtools
114k
1.TH "NPM-HELP" "1" "April 2026" "NPM@11.13.0" ""
2.SH "NAME"
3\fBnpm-help\fR - Get help on npm
4.SS "Synopsis"
5.P
6.RS 2
7.nf
8npm help <term> \[lB]<terms..>\[rB]
9
10alias: hlep
11.fi
12.RE
13.P
14Note: This command is unaware of workspaces.
15.SS "Description"
16.P
17If supplied a topic, then show the appropriate documentation page.
18.P
19If the topic does not exist, or if multiple terms are provided, then npm will run the \fBhelp-search\fR command to find a match. Note that, if \fBhelp-search\fR finds a single subject, then it will run \fBhelp\fR on that topic, so unique matches are equivalent to specifying a topic name.
20.SS "Configuration"
21.SS "\fBviewer\fR"
22.RS 0
23.IP \(bu 4
24Default: "man" on Posix, "browser" on Windows
25.IP \(bu 4
26Type: String
27.RE 0
28
29.P
30The program to use to view help content.
31.P
32Set to \fB"browser"\fR to view html help content in the default web browser.
33.SS "See Also"
34.RS 0
35.IP \(bu 4
36npm help npm
37.IP \(bu 4
38npm help folders
39.IP \(bu 4
40npm help config
41.IP \(bu 4
42npm help npmrc
43.IP \(bu 4
44\fBpackage.json\fR \fI\(la/configuring-npm/package-json\(ra\fR
45.IP \(bu 4
46npm help help-search
47.RE 0
48 