Question: how to find .npmrc file on windows?
Answer: The default global folder is C:\Users\{username}\AppData\Roaming\npm . You can create (if it doesn't exist) a . npmrc file in C:\Users\{username}\ and add prefix = "path\\to\\yourglobalfolder" . Note that, in windows, the path should be separated by double back-slash .