LinuxCommandLibrary

npm-help

displays documentation for npm commands

TLDR

Get help on command

$ npm help [install]
copy
Search help topics
$ npm help-search [dependency]
copy
Open help in browser
$ npm help [command] --viewer browser
copy
List all commands
$ npm help npm
copy

SYNOPSIS

npm help [topic]

DESCRIPTION

npm help displays documentation for npm commands. Opens man pages or browser.
The command provides detailed help. Covers all npm functionality.

PARAMETERS

TOPIC

Help topic or command.
--viewer TYPE
Output viewer (browser, man).
--help
Display help information.

CAVEATS

Uses man by default. Browser option available. Comprehensive docs.

HISTORY

npm help provides access to npm's documentation system from the command line.

SEE ALSO

npm(1), npm-docs(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community