Last active
December 31, 2015 15:09
-
-
Save huanglong-zz/8004812 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
官方 http://registry.npmjs.org/ | |
stdyun http://npm.stdyun.com | |
清华 http://npm.tuna.tsinghua.edu.cn/registry | |
1. config 命令: | |
npm config set registry http://npm.stdyun.com | |
2. 命令行指定: | |
npm --registry http://npm.stdyun.com info underscore | |
3. 编辑 ~/.npmrc | |
registry = http://npm.stdyun.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment