Search npm help documentation

Select CLI Version:


npm help-search <text>

Note: This command is unaware of workspaces.


This command will search the npm markdown documentation files for the terms provided, and then list the results, sorted by relevance.

If only one result is found, then it will show that help topic.

If the argument to npm help is not a known help topic, then it will call help-search. It is rarely if ever necessary to call this command directly.



  • Default: false
  • Type: Boolean

Show extended information in ls, search, and help-search.

See Also

Edit this page on GitHub
3 contributorsisaacsruyadornoethomson
Last edited by isaacs on August 16, 2021