Monday, 27 January 2025

npmrc locations

On a Windows machine the .npmrc configuration is loaded from the following locations in sequence.

%USERPROFILE%\AppData\Roaming\npm\node_modules\npm\npmrc

<project directory>\.npmrc

%USERPROFILE%\.npmrc

%USERPROFILE%\AppData\Roaming\npm\etc\npmrc

No comments:

Post a Comment