Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.49 KB

npm-help.mdx

File metadata and controls

56 lines (42 loc) · 1.49 KB
title section description github_repo github_branch github_path redirect_from
npm-help
1
Get help on npm
npm/cli
release/v8
docs/lib/content/commands/npm-help.md
/cli-documentation/v8/cli-commands/help
/cli-documentation/v8/cli-commands/npm-help
/cli-documentation/v8/commands/help
/cli-documentation/v8/commands/npm-help
/cli-documentation/v8/help
/cli-documentation/v8/npm-help
/cli/v8/cli-commands/help
/cli/v8/cli-commands/npm-help
/cli/v8/commands/help
/cli/v8/help
/cli/v8/npm-help

Synopsis

npm help <term> [<terms..>]

alias: hlep

Note: This command is unaware of workspaces.

Description

If supplied a topic, then show the appropriate documentation page.

If the topic does not exist, or if multiple terms are provided, then npm will run the help-search command to find a match. Note 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.

Configuration

viewer

  • Default: "man" on Posix, "browser" on Windows
  • Type: String

The program to use to view help content.

Set to "browser" to view html help content in the default web browser.

See Also