More than you probably want to know about npm configuration DESCRIPTION npm gets its configuration values from 6 sources, in this priority: Command Line Flags Putting --foo bar on the command line sets the foo configuration parameter to "bar". A -- argument tells the cli parser to stop reading flags. A --flag parameter that is at the end of the command will be given the value of true. Environment