自用的常见本地代理设置
📅 发表于 2025-03-12
Git及Github代理
bash
# 查看当前设置
git config --global --list
# socks5
git config --global https.proxy socks5://127.0.0.1:7890
git config --global http.proxy socks5://127.0.0.1:7890
# http
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
git config --global --unset http.proxy
git config --global --unset https.proxyScoop代理
bash
scoop config proxy 127.0.0.1:7890npm镜像仓库
bash
--registry=https://registry.npmmirror.com