Winget
使用 winget 工具安装和管理应用程序
开发人员可以在 Windows 10 计算机上使用 winget 命令行工具来发现、安装、升级、删除和配置应用程序。 此工具是 Windows 程序包管理器服务的客户端接口。
https://github.com/microsoft/winget-cli
Commands
The current preview of the winget tool supports the following commands.
| Command | Description |
|---|---|
| export | Exports a list of the installed packages. |
| features | Shows the status of experimental features. |
| hash | Generates the SHA256 hash for the installer. |
| import | Installs all the packages in a file. |
| install | Installs the specified application. |
| list | Display installed packages. |
| search | Searches for an application. |
| settings | Open settings. |
| show | Displays details for the specified application. |
| source | Adds, removes, and updates the Windows Package Manager repositories accessed by the winget tool. |
| validate | Validates a manifest file for submission to the Windows Package Manager repository. |
| uninstall | Uninstalls the given package. |
| upgrade | Upgrades the given package. |