Python PyPI (pip)
编辑~/.pip/pip.conf:
nano ~/.pip/pip.conf 添加
[global] index-url = http://pypi.douban.com/simple 豆瓣源
Node NPM
编辑 ~/.npmrc
nano ~/.npmrc 添加
registry = http://registry.cnpmjs.org 参考来源
Ruby Gem
$ gem sources --remove https://rubygems.org/ $ gem sources -a http://ruby.taobao.org/ 淘宝源