Where can I find the .npmrc file

0
Hi,    Im buidling a custom widget based on the webComponents principle. Therefore I need to access a private Nexus registry, which should be set in the .npmrc file
asked
1 answers
0

From the npm docs (https://docs.npmjs.com/cli/v7/configuring-npm/npmrc) there are 4 palces you should have it/can put it:

The four relevant files are:

  • per-project config file (/path/to/my/project/.npmrc)
  • per-user config file (~/.npmrc)
  • global config file ($PREFIX/etc/npmrc)
  • npm builtin config file (/path/to/npm/npmrc)
answered