• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2section: cli-commands
3title: npm-help
4description: Get help on npm
5---
6
7# npm-help(1)
8
9## Get help on npm
10
11### Synopsis
12
13```bash
14npm help <term> [<terms..>]
15```
16
17### Description
18
19If supplied a topic, then show the appropriate documentation page.
20
21If the topic does not exist, or if multiple terms are provided, then run
22the `help-search` command to find a match.  Note that, if `help-search`
23finds a single subject, then it will run `help` on that topic, so unique
24matches are equivalent to specifying a topic name.
25
26### Configuration
27
28#### viewer
29
30* Default: "man" on Posix, "browser" on Windows
31* Type: path
32
33The program to use to view help content.
34
35Set to `"browser"` to view html help content in the default web browser.
36
37### See Also
38
39* [npm](/cli-commands/npm)
40* [npm folders](/configuring-npm/folders)
41* [npm config](/cli-commands/npm-config)
42* [npmrc](/configuring-npm/npmrc)
43* [package.json](/configuring-npm/package-json)
44* [npm help-search](/cli-commands/npm-help-search)
45