Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
似乎没有内置选项可以按可用升级或来源进行过滤。
我已经尝试过了,但它仍然列出了所有内容:
winget list --source winget
我找到了一个可行的解决方案。您使用upgrade不带参数的命令而不是list命令。这在文档中对我来说并不清楚,但效果很好。
upgrade
list
winget upgrade