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