npm:
- config命令:npm config set registry https://registry.npm.taobao.org
- 命令行指定:npm --registry=https://registry.npm.taobao.org install -g bower
- 编辑~/.npmrc加入以下内容:registry=https://registry.npm.taobao.org
某些软件的镜像设置方法,陆续补充
原文:http://www.cnblogs.com/noteit/p/5157774.html