I create a.bat on windows 7, the content of a.bat is:
@echo off npm config set registry https://registry.npmjs.org/
and then run a.bat, but
We can also run npm install with registry options for multiple custom registry URLs.
registry
npm install --registry=https://registry.npmjs.org/ npm install --registry=https://custom.npm.registry.com/