npm Config, Auth & Cache/List all config defaults

Display defaults and computed values.

Section: npm configuration

List all config defaults

bash
bash
npm config ls -l
Explanation

Display defaults and computed values.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing npm configuration
List config values
Display effective npm configuration.
OpenIn sheetbashsame section
Get a config value
Read a configuration value.
OpenIn sheetbashsame section
Set a config value
Write a configuration value.
OpenIn sheetbashsame section
Delete a config value
Remove a config setting.
OpenIn sheetbashsame section
Edit npmrc
Open the user npmrc in an editor.
OpenIn sheetbashsame section
Verify cache
Validate the integrity of the npm cache.
OpenIn sheetbash1 tag match