Easy way to achieve it!!!
Our first step is to create npmrc profiles for each registry.
Example: Creating 2 profiles personal and work
npx npmrc -c personal
npx npmrc -c work
To view the profiles which are created, use the below command to list the...