win10常用开发配置

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.Ctrl+R 输入 %APPDATA%

2.新建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:Applicationsapache-maven-3.5.4maven-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>
原文地址:https://www.cnblogs.com/chenzhaoyu/p/10329170.html