如何查看已安装小部件包的范围?

huangapple go评论54阅读模式
英文:

How to see the scope of an already winget installed package?

问题

如何查看已使用 winget 安装的已安装包的安装范围

winget install --scope machine -i -e xxxx
英文:

How can I see the install scope of an already installed package, that has been previously with installed using winget?

winget install --scope machine -i -e xxxx 

答案1

得分: 1

Use winget list 使用 --scope machine,但请注意您需要从一个 提升的 会话中运行(对于 --scope user 不需要)。

# 需要提升权限
winget list --scope machine
英文:

<!-- language-all: sh -->

Use winget list with --scope machine, but note that you need to run from an elevated session (not necessary for --scope user)

# REQUIRES ELEVATION
winget list --scope machine

huangapple
  • 本文由 发表于 2023年5月10日 19:13:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/76217713.html
匿名

发表评论

匿名网友

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

确定