codekingpro/portable-devtools
114k
1---
2title: npm-help-search
3section: 1
4description: Search npm help documentation
5---
6
7### Synopsis
8
9```bash
10npm help-search <text>
11```
12
13Note: This command is unaware of workspaces.
14
15### Description
16
17This command will search the npm markdown documentation files for the terms provided, and then list the results, sorted by relevance.
18
19If only one result is found, then it will show that help topic.
20
21If the argument to `npm help` is not a known help topic, then it will call `help-search`.
22It is rarely if ever necessary to call this command directly.
23
24### Configuration
25
26#### `long`
27
28* Default: false
29* Type: Boolean
30
31Show extended information in `ls`, `search`, and `help-search`.
32
33
34
35### See Also
36
37* [npm](/commands/npm)
38* [npm help](/commands/npm-help)
39 