- 获取npm源
npm config get registry
- 切换npm源
npm config set registry https://registry.npmjs.org/
- 暂时使用npm源
npm --registry http://ires.58corp.com/repository/58npm/ install cheui-reac
npm config get registry
npm config set registry https://registry.npmjs.org/
npm --registry http://ires.58corp.com/repository/58npm/ install cheui-reac