commands.sh

npm config

all

Manage the `npm` configuration settings.

More info →

Options (1)

boolean

Show all configuration settings

Example: npm {{[c|config]}} list

Examples (7)

Show all configuration settings

npm [c|config] list

List all configuration settings as `JSON`

npm [c|config] list --json

Get the value of a specific configuration key

npm [c|config] get key

Set a configuration key to a specific value

npm [c|config] set key value

Delete a configuration key

npm [c|config] delete key

Edit the global npm configuration file in the default editor

npm [c|config] edit

Attempt to repair invalid configuration items

npm [c|config] fix
made by @shridhargupta | data from tldr-pages