常用软件换源和代理配置方法

本文记录了 Windows 和 Linux 平台上常用软件和开发工具的代理配置方法,镜像源优先使用中科大源,代理默认本地代理,端口号为 7890。 Windows Winget winget 使用中科大镜像 1,需要管理员权限: 1 2 winget source remove winget winget source add winget https://mirrors.ustc.edu.cn/winget-source --trust-level trusted git 1 2 git config --global https.proxy http://127.0.0.1:7890 git config --global https.proxy http://127.0.0.1:7890 WSL wsl 的配置文件默认路径为 %userprofile/.wslconfig,修改该文件为以下内容,就可以在 wsl 中使用 Windows 代理。 ...

发表于8月31日 · 更新于9月3日 · 共396字