Per-project config file Whenever you are working locally in a project, the config values for that specific project is set by a . npmrc file in the root of the project(ie, a sibling of node_modules and the package. json). It should be noted that this only applies to the root of the project that you are running npm in.