Last active
March 11, 2022 15:48
-
-
Save dfang/c8d5cf6a171615fd0c30 to your computer and use it in GitHub Desktop.
Mirrors in China
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
# mirrors in China | |
## rubygems mirror(ruby.taobao.org) | |
use ruby.taobao.org as mirror on local machine(https://ruby-china.org/topics/15534) | |
`bundle config mirror.https://rubygems.org http://ruby.taobao.org` | |
`less ~/.bundle/config` | |
## npm mirror(npm.taobao.org) | |
https://cnodejs.org/topic/4f9904f9407edba21468f31e | |
http://riny.net/2014/cnpm/ | |
https://cnodejs.org/topic/5338c5db7cbade005b023c98 | |
http://segmentfault.com/a/1190000000471219 | |
http://segmentfault.com/a/1190000000362110 | |
http://www.feeldesignstudio.com/2014/04/npm-set-registry | |
通过 nvm 安装任意版本的 node, | |
nvm 默认是从 http://nodejs.org/dist/ 下载的, 通过设置镜像来加速 | |
$ NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/dist nvm install 0.11.11 | |
或 | |
$ export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/dist | |
或 export写到~/.bashrc, ~/.zshrc | |
## docker mirror | |
[mirror by daocloud](https://dashboard.daocloud.io/mirror) | |
[setup local mirror](http://docs.docker.com/articles/registry_mirror/) | |
## python pip 镜像 | |
http://fduo.org/pip-gem-npm-chinese-mirror/ |
Author
dfang
commented
Mar 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment