Question: where is npmrc file located 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 .