11cb0ef41Sopenharmony_ci---
21cb0ef41Sopenharmony_cititle: npm-help
31cb0ef41Sopenharmony_cisection: 1
41cb0ef41Sopenharmony_cidescription: Get help on npm
51cb0ef41Sopenharmony_ci---
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ci### Synopsis
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ci```bash
101cb0ef41Sopenharmony_cinpm help <term> [<terms..>]
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_cialias: hlep
131cb0ef41Sopenharmony_ci```
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ciNote: This command is unaware of workspaces.
161cb0ef41Sopenharmony_ci
171cb0ef41Sopenharmony_ci### Description
181cb0ef41Sopenharmony_ci
191cb0ef41Sopenharmony_ciIf supplied a topic, then show the appropriate documentation page.
201cb0ef41Sopenharmony_ci
211cb0ef41Sopenharmony_ciIf the topic does not exist, or if multiple terms are provided, then npm
221cb0ef41Sopenharmony_ciwill run the `help-search` command to find a match.  Note that, if
231cb0ef41Sopenharmony_ci`help-search` finds a single subject, then it will run `help` on that
241cb0ef41Sopenharmony_citopic, so unique matches are equivalent to specifying a topic name.
251cb0ef41Sopenharmony_ci
261cb0ef41Sopenharmony_ci### Configuration
271cb0ef41Sopenharmony_ci
281cb0ef41Sopenharmony_ci#### `viewer`
291cb0ef41Sopenharmony_ci
301cb0ef41Sopenharmony_ci* Default: "man" on Posix, "browser" on Windows
311cb0ef41Sopenharmony_ci* Type: String
321cb0ef41Sopenharmony_ci
331cb0ef41Sopenharmony_ciThe program to use to view help content.
341cb0ef41Sopenharmony_ci
351cb0ef41Sopenharmony_ciSet to `"browser"` to view html help content in the default web browser.
361cb0ef41Sopenharmony_ci
371cb0ef41Sopenharmony_ci
381cb0ef41Sopenharmony_ci
391cb0ef41Sopenharmony_ci### See Also
401cb0ef41Sopenharmony_ci
411cb0ef41Sopenharmony_ci* [npm](/commands/npm)
421cb0ef41Sopenharmony_ci* [npm folders](/configuring-npm/folders)
431cb0ef41Sopenharmony_ci* [npm config](/commands/npm-config)
441cb0ef41Sopenharmony_ci* [npmrc](/configuring-npm/npmrc)
451cb0ef41Sopenharmony_ci* [package.json](/configuring-npm/package-json)
461cb0ef41Sopenharmony_ci* [npm help-search](/commands/npm-help-search)
47