Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
npm-help.md45 linesDownload Raw Back to commands
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 will run the `help-search` command to find a match.
22Note 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.
23
24### Configuration
25
26#### `viewer`
27
28* Default: "man" on Posix, "browser" on Windows
29* Type: String
30
31The program to use to view help content.
32
33Set to `"browser"` to view html help content in the default web browser.
34
35
36
37### See Also
38
39* [npm](/commands/npm)
40* [npm folders](/configuring-npm/folders)
41* [npm config](/commands/npm-config)
42* [npmrc](/configuring-npm/npmrc)
43* [package.json](/configuring-npm/package-json)
44* [npm help-search](/commands/npm-help-search)
45 
codekingpro/portable-devtools · Team Ai