.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. .TH NPMRC.JS "1" "March 2022" "npmrc.js 1.1.1" "User Commands" .SH NAME npmrc.js \- Switch between different .npmrc files .SH DESCRIPTION npmrc .IP Switch between different .npmrc files with ease and grace. .SS "Usage:" .TP npmrc list all profiles .TP npmrc [name] change npmrc profile (uses fuzzy matching) .TP npmrc \fB\-c\fR [name] create a new npmrc profile called name .TP npmrc \fB\-r\fR [registry] use an npm mirror .SS "Available mirrors for npmrc -r:" .TP au \- Australian registry mirror .TP eu \- European registry mirror .TP cn \- Chinese registry mirror .IP default \- Default registry .PP Example: .IP # Creating and activating a new .npmrc called "work": $ npmrc \fB\-c\fR work .IP # Switch between "work" and "default" $ npmrc work $ npmrc default # Use the European npm mirror $ npmrc \fB\-r\fR eu