-v、--version返回 WinGet 的当前版本。 --info提供有关 WinGet 的所有详细信息,包括许可证链接、隐私声明和配置的组策略。 -?、--help显示 WinGet 的其他帮助。 支持的安装程序格式 WinGet工具支持以下类型的安装程序: EXE(具有 Silent 和 SilentWithProgress 标志) ...
-v, --version傳回 WinGet 的目前版本。 --info為您提供有關 WinGet 的所有詳細資訊 (包括授權、隱私權聲明和已設定群組原則的連結)。 -?, --help顯示 WinGet 的其他說明。 支援的安裝程式格式 WinGet工具支援下列類型的安裝程式: EXE (具有Silent和SilentWithProgress旗標) ...
winget download --id Microsoft.PowerToys --version0.15.2 下列範例下載具有特定安裝程式類型的應用程式。 CMD winget download --id Microsoft.WingetCreate --installer-typemsix 下列範例會依架構和範圍下載應用程式至特定的下載目錄。 CMD winget download --id Microsoft.PowerToys --scope machine --architecture...
Chocolatey、Scoop 和 Winget 都是流行的 Windows 软件包管理工具,最近我使用了Winget安装了Git,使用命令行方式安装或更新软件(特别是非GUI软件——比如Git、Maven等)非常方便,在此简介一下Winget的常用指令。 1. 是否已安装 Winget 要确定是否已安装 Winget,可以在 PowerShell 中执行以下命令: winget --version 如...
winget install "Power Toys" --version ⇥winget install "Power Toys" --version 0.19.20.19.2是撰写本文时 Power Toys 的最高版本 命令参考 完整的命令需要 3 个必需的参数: 参数说明 --word当前正在补全的字词;光标所在的标记。 可以为空,以表示光标处当前没有值。但如果不为空,则必须在命令行中显示为...
导入与导出 导出程序包 -v, --version 显示工具的版本信息 winget export --version 导入程序包 --proxy 设置要用于此执行的代理 winget import --proxy http://proxy.example.com 钉住与固定 管理固定程序包 --wait 提示用户在退出前按任意键 winget pin <package> --wait 修复与下载 下载程序包 --verbose...
winget -v,–version 显示winget 的版本 winget –info 显示工具的常规信息 WinGet Install 命令例子 以安装微软Edge 浏览器为例子,我们可能不清楚它的具体名字,所以先使用 search 命令搜索“edge”,找到软件名称或 ID 之后,则可以通过 Install 命令来安装。具体如下: 执行:winget search edge 可以看到 Edge 的包名...
accessible via the WinGet repository on GitHub. With preview builds, the WinGet team has been able to test new and experimental features before releasing them to the production build, which is the stable and official version of WinGet. Anyone who wanted to try out the latest and grea...
winget-cli WindowsPackageManager/{Client Version} DesktopAppInstaller/Microsoft.DesktopAppInstaller {AppInstaller Version} 示例: winget-cli WindowsPackageManager/1.9.25200 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.24.25200.0 其他资源 培训
-v,--version 显示工具的版本 --info 显示工具的常规信息 可在此找到更多帮助: https://aka.ms/winget-command-help PS C:\Users\Admin> 虽然winget 有那么多命令,但一般会用到的也就只有 6 个,分别是 使用winget 安装一个软件 如果想用 winget 安装一个软件,咱们需要知道它的 ID,因为软件的名字可以重复...