Python PyPI (pip)npm
編輯~/.pip/pip.conf:ruby
nano ~/.pip/pip.conf 添加url
[global] index-url = http://pypi.douban.com/simple 豆瓣源ip
Node NPMrem
編輯 ~/.npmrcget
nano ~/.npmrc 添加pip
registry = http://registry.cnpmjs.org 參考來源cnpm
Ruby Gem淘寶
$ gem sources --remove https://rubygems.org/ $ gem sources -a http://ruby.taobao.org/ 淘寶源im