1 ---
2 title: npm-help
3 section: 1
4 description: Get help on npm
5 github_repo: npm/cli
6 github_branch: release/v6
7 github_path: docs/content/commands/npm-help.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/help
10 - /cli-documentation/v6/cli-commands/npm-help
11 - /cli-documentation/v6/commands/help
12 - /cli-documentation/v6/commands/npm-help
13 - /cli-documentation/v6/help
14 - /cli-documentation/v6/npm-help
15 - /cli/v6/cli-commands/help
16 - /cli/v6/cli-commands/npm-help
17 - /cli/v6/commands/help
18 - /cli/v6/help
19 - /cli/v6/npm-help
20 ---
21
22 ### Synopsis
23
24 ```bash
25 npm help <term> [<terms..>]
26 ```
27
28 ### Description
29
30 If supplied a topic, then show the appropriate documentation page.
31
32 If the topic does not exist, or if multiple terms are provided, then 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.
33
34 ### Configuration
35
36 #### viewer
37
38 - Default: "man" on Posix, "browser" on Windows
39 - Type: path
40
41 The program to use to view help content.
42
43 Set to `"browser"` to view html help content in the default web browser.
44
45 ### See Also
46
47 - [npm](/cli/v6/commands/npm)
48 - [npm folders](/cli/v6/configuring-npm/folders)
49 - [npm config](/cli/v6/commands/npm-config)
50 - [npmrc](/cli/v6/configuring-npm/npmrc)
51 - [package.json](/cli/v6/configuring-npm/package-json)
52 - [npm help-search](/cli/v6/commands/npm-help-search)