cmd设置全局代理

2024年1月2日22:26:57 发表评论 203 views
set http_proxy=http://127.0.0.1:1081
set https_proxy=http://127.0.0.1:1081
坑:https代理和http代理在v2ray的端口一样,socks5有专门的端口
以上一定是cmd窗口下
测试代码:
curl https://huggingface.co/THUDM/chatglm3-6b/resolve/main/tokenizer_config.json

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: