LinuxCommandLibrary

npm-completion

generates shell completion scripts

TLDR

Generate bash completion

$ npm completion >> ~/.bashrc
copy
Generate zsh completion
$ npm completion >> ~/.zshrc
copy
Output completion script
$ npm completion
copy

SYNOPSIS

npm completion

DESCRIPTION

npm completion generates shell completion scripts. Enables tab completion for npm.
The command outputs script to stdout. Append to shell rc file.

PARAMETERS

--help

Display help information.

CAVEATS

Requires shell restart. Bash and zsh supported. Source after adding.

HISTORY

npm completion provides shell integration for command-line tab completion.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community