We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install -g nrm
nrm ls
* npm ---- https://registry.npmjs.org/ cnpm --- http://r.cnpmjs.org/ taobao - https://registry.npm.taobao.org/ nj ----- https://registry.nodejitsu.com/ rednpm - http://registry.mirror.cqupt.edu.cn/ npmMirror https://skimdb.npmjs.com/registry/ edunpm - http://registry.enpmjs.org/
nrm use taobao
npm config set registry https://registry.npm.taobao.org
npm config set @myco:registry =<url register myco>
npm config get registry
https://registry.npm.taobao.org/
npm info vue
npm --registry https://registry.npm.taobao.org install [name]
registry = https://registry.npm.taobao.org
为不同包范围注册不同的包地址
@myco:registry=<url register A> registry=<url register B>
以@myco开头的包的注册地址是A,其余的包注册地址是B
The text was updated successfully, but these errors were encountered:
No branches or pull requests
npm 知识合集
npm换源的几种方式
npm config set @myco:registry =<url register myco>
为不同包范围注册不同的包地址为不同包范围注册不同的包地址
以@myco开头的包的注册地址是A,其余的包注册地址是B
The text was updated successfully, but these errors were encountered: