yarn


yarn config get registry   # 查看当前设置的镜像源地址

yarn config set registry 'https://registry.npm.taobao.org'

yarn global list --depth=0 # 查看全局安装情况
yarn cache clean # 清楚全局缓存
npm list -g --depth=0  # 查看全局安装情况

npm cache clean --force # 清楚全局缓存
nvm node_mirror https://npm.taobao.org/mirrors/node/

nvm npm_mirror https://npm.taobao.org/mirrors/npm/

nvm install [version]

nvm use [version]

yarn global add nrm
 

 

python

1.C:/User/<user_dir>/下新建pip目录,并在pip目录下新建pip.ini

3.在pip.ini中输入:

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

 4.配置git bash别名

alias python='winpty python'

 

maven

配置本地macen的setting.xml文件

<localRepository>D:\Applications\apache-maven-3.5.4\maven-repository</localRepository> 
<mirrors>
    <mirror>
      <id>nexus-aliyun</id>
      <name>Nexus aliyun</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>

相关文章:

  • 2021-04-25
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2021-09-05
  • 2022-01-16
  • 2022-12-23
猜你喜欢
  • 2021-06-26
  • 2022-12-23
  • 2021-07-12
  • 2021-04-23
  • 2021-12-04
  • 2021-05-25
  • 2021-07-19
相关资源
相似解决方案