配置速通
Git
sh
git config --global user.name "HP"
git config --global user.email email@example.com
git config --global http.proxy "http://localhost:7890"
git config --global https.proxy "http://localhost:7890"Java
- 添加变量 -> JAVA_HOME
- 添加 Path -> %JAVA_HOME%\bin
NodeJS
- 添加 Path -> D:\NodeData\global
sh
npm config set prefix "D:\NodeData\global"
npm config set cache "D:\NodeData\cache"
npm config set registry https://registry.npmmirror.com/
# 去 .npmrc 修改
electron_mirror=https://mirrors.huaweicloud.com/electron/Android & Flutter
- 添加 Path -> Flutter\bin
- 添加变量 -> ANDROID_SDK_ROOT
- 添加变量 -> CHROME_EXECUTABLE
- 添加变量 -> PUB_HOSTED_URL=https://pub.flutter-io.cn
- 添加变量 -> FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
- Android Studio
- 添加 Plugin: flutter
- Settings->Languages & Frameworks->Android SDK
Go
sh
go env -w GOPROXY=https://proxy.golang.com.cn,directdotNet
- 添加 Path -> dotnet.exe 所在的目录
VMWare
- 下载安装包去"克隆窝",方便
python
sh
pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/