Get a list of all the default NPM configuration settings via terminal?

Answered
nick asked this question 5 months ago
nick on Feb 27

On my Ubuntu 20.04 machine, I'm trying to get a full list of all the default NPM configuration settings. These are the config settings that NPM sets before the user changes them.

How do I get that full list?

1 suggested answers
yaboy01 on Feb 27

This command should work for you:

npm config list -l

You can change the output to JSON format by adding a --json flag:

npm config list -l --json
0 replies
Answered