Of the node executable, or the prefix setting in the cli, env, The globalPrefix folder, which is inferred by looking at the location The userconfig config value can be overridden by the cli, env, or LocalPrefix folder (ie, the cwd, or its nearest parent that containsĮither a node_modules folder or package.json file.) There is no way at this time to modify this prefix. eg npm_config_some_key=some_value in theĮnvironment. It's the one that npm has used forever, and changing it will be Parsed by nopt, which is not a great choice, but eg -some-key=some-value on the command line.
#Npm config set for project code
Npmconf, and the code that once lived in npm's This module is the spiritual descendant of