0
点赞
收藏
分享

微信扫一扫

【高效】开发过程中常见配置(各种国内镜像等)

pip

[global]
trusted-host =  mirrors.aliyun.com
index-url = https://mirrors.aliyun.com/pypi/simple

npm

npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global

maven

  <mirrors>
	<mirror>
        <id>alimaven</id>
        <mirrorOf>central</mirrorOf>
        <name>aliyun maven</name>
             <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
    </mirror>
  </mirrors>

git用户名密码

  • 避免每次换机器得配置各种账号密码
  • 可以一次性配置多个服务器
  • 【缺点】:安全性
machine gitee.com
login kinghzking****
password 123456789Kkk

machine github.com
login kinghzking****
password 123456789Kkk

在这里插入图片描述

参考资料

  • pip设置阿里云的镜像源,速度飞快 https://blog.csdn.net/a249040113/article/details/81567430
  • qq群:夜猫逐梦技术交流裙/953949723
    逐梦中原技术交流QQ群
举报

相关推荐

0 条评论