• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
"NPM-HELP" "1" "July 2023" "" ""
"NAME"
npm-help - Get help on npm
"Synopsis"

npm help <term> \[lB]<terms..>\[rB]

alias: hlep

Note: This command is unaware of workspaces.

"Description"

If supplied a topic, then show the appropriate documentation page.

If the topic does not exist, or if multiple terms are provided, then npm will run the help-search command to find a match. Note that, if help-search finds a single subject, then it will run help on that topic, so unique matches are equivalent to specifying a topic name.

"Configuration"
"viewer"

\(bu 4
Default: "man" on Posix, "browser" on Windows
\(bu 4
Type: String

The program to use to view help content.

Set to "browser" to view html help content in the default web browser.

"See Also"

\(bu 4
npm help npm
\(bu 4
npm help folders
\(bu 4
npm help config
\(bu 4
npm help npmrc
\(bu 4
package.json \(la/configuring-npm/package-json\(ra
\(bu 4
npm help help-search