home page > Programmer development tools > Domestic image source

Package Manager Domestic Source

Pip domestic image source

provider Source and usage
Watercress

https://pypi.doubanio.com/simple/

 pip install -i  https://pypi.doubanio.com/simple/
Tsinghua University

https://pypi.tuna.tsinghua.edu.cn/simple

 pip install -i  https://pypi.tuna.tsinghua.edu.cn/simple
Alibaba Cloud

https://mirrors.aliyun.com/pypi/simple/

 pip install -i  https://mirrors.aliyun.com/pypi/simple/

Composer domestic image source

provider Source and usage
-

https://packagist.phpcomposer.com/

 composer config -g repo.packagist composer  https://packagist.phpcomposer.com
-

https://php.cnpkg.org/

 composer config -g repo.packagist composer  https://php.cnpkg.org
Alibaba Cloud

https://mirrors.aliyun.com/composer/

 composer config -g repo.packagist composer  https://mirrors.aliyun.com/composer/
Hua Weiyun

https://mirrors.huaweicloud.com/repository/php/

 composer config -g repo.packagist composer  https://mirrors.huaweicloud.com/repository/php/
Shanghai Jiaotong University

https://packagist.mirrors.sjtug.sjtu.edu.cn/

 composer config -g repo.packagist composer  https://packagist.mirrors.sjtug.sjtu.edu.cn
-

https://packagist.jp/

 composer config -g repo.packagist composer  https://packagist.jp

Npm domestic image source

provider Source and usage
TaoBao

https://registry.npmmirror.com/

 npm config set registry  https://registry.npmmirror.com
 yarn config set registry  https://registry.npmmirror.com
cnpmjs

http://r.cnpmjs.org/

 npm config set registry  http://r.cnpmjs.org/
 yarn config set registry  http://r.cnpmjs.org/

Gem domestic image source

provider Source and usage
Ruby China

https://ruby.taobao.org/

 gem sources --add  https://gems.ruby-china.org/  --remove  https://rubygems.org/
Tsinghua University

https://mirrors.tuna.tsinghua.edu.cn/rubygems/

 gem sources --add  https://mirrors.tuna.tsinghua.edu.cn/rubygems/  --remove  https://rubygems.org/

Maven domestic image source

provider Source and usage
Alibaba Cloud

http://maven.aliyun.com/nexus/content/groups/public/

 <? xml version="1.0" encoding="UTF-8"?> <settings xsi:schemaLocation=" http://maven.apache.org/SETTINGS/1.1.0   http://maven.apache.org/xsd/settings-1.1.0.xsd " xmlns=" http://maven.apache.org/SETTINGS/1.1.0 " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "> <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url> http://maven.aliyun.com/nexus/content/groups/public/ </url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> <profiles> <profile> <repositories> <repository> <id>central</id> <name>Maven Repository Switchboard</name> <layout>default</layout> <url> http://repo1.maven.org/maven2 </url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <id>offical</id> </profile> </profiles> <activeProfiles> <activeProfile>offical</activeProfile> </activeProfiles> </settings>

Package management domestic image

Using package management can greatly reduce the cost of referencing and managing third-party libraries, but many sources are overseas, and it is easy to timeout when installing through package management; We can solve this problem by changing it to a domestic source or using an agent.

It includes domestic image sources commonly used by Pippip, Composer, Npm, Gem and Maven.