侧边栏壁纸
  • 累计撰写 65 篇文章
  • 累计创建 73 个标签
  • 累计收到 3 条评论

目 录CONTENT

文章目录

winget 使用代理

孤鸿
2024-12-23 / 0 评论 / 1 点赞 / 348 阅读 / 0 字

使用winget平时碰到软件源是github的就下不动,只能使用代理功能了,好在现在的winget也支持proxy了,使用proxy命令如下

winget install git.git --proxy="http://ip:port"

以安装Pandoc为例:

winget install JohnMacFarlane.Pandoc --proxy="http://127.0.0.1:1093"

代理上能看到请求的日志:

参考链接:

> https://github.com/microsoft/winget-cli/issues/190

1

评论区