NPM-HELP(1) NPM-HELP(1)

# [NAME](#NAME)

**npm-help** - Get help on npm

## [Synopsis](#Synopsis)

```
npm help <term> [<terms..>]
alias: hlep
```

Note: This command is unaware of workspaces.

## [Description](#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](#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](#See_Also)

- npm help npm
- npm help folders
- npm help config
- npm help npmrc
- **package.json** *⟨/configuring-npm/package-json⟩*
- npm help help-search

October 2026 NPM@11.21.1

---

Document: npm-help(1) from npm-11 11.21.1-r0 (Chainguard OS)
Source: https://github.com/npm/cli
