1--- 2title: npm-help 3section: 1 4description: Get help on npm 5--- 6 7### Synopsis 8 9```bash 10npm help <term> [<terms..>] 11 12alias: hlep 13``` 14 15Note: This command is unaware of workspaces. 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 npm 22will run the `help-search` command to find a match. Note that, if 23`help-search` finds a single subject, then it will run `help` on that 24topic, so unique matches are equivalent to specifying a topic name. 25 26### Configuration 27 28#### `viewer` 29 30* Default: "man" on Posix, "browser" on Windows 31* Type: String 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 38 39### See Also 40 41* [npm](/commands/npm) 42* [npm folders](/configuring-npm/folders) 43* [npm config](/commands/npm-config) 44* [npmrc](/configuring-npm/npmrc) 45* [package.json](/configuring-npm/package-json) 46* [npm help-search](/commands/npm-help-search) 47