Microsoft published Edition of the batch manager Windows Package Manager 1.0 (Winget) providing tools for installing applications using the command line. The code is written in C ++ and extends under the MIT license. Packages are installed from repository , supported with the participation of the community. Unlike the installation of programs from the Microsoft Store directory, Winget allows you to install applications without excess marketing and advertising.
Windows Package Manager 1.0 is positioned as the first full-featured release that supports integration with the Microsoft Store directory, input autopocharged, various categories of releases (releases, beta versions), installation of system components and application panel applications, Delta-updates, package sets , interface for generating manifests, operation with dependencies, installation files in Zip format (in addition to MSI), etc. The syntax of the commands and the logic of working with Winget is close to the package managers of APT and DNF.
In the first issue of is provided the following commands:
- install – install packages;
- show – output information about the package;
- source – package of package loading sources;
- search – search packages;
- list – display of the list of installed packages;
- Upgrade – Updating the specified packages;
- uninstall – delete installed packages;
- hash – work with check hash;
- Validate – Checking the integrity of the manifest;
- settings – change settings;
- Features – showing experimental status;
- export – export of the list of installed packages;
- Import – Import the list of installed packages.
Package parameters are defined through files with manifest in Yaml format . To simplify the creation of files with the manifest, the toolkit winget-create . The executable files themselves are stored in the Microsoft Store or directly on the main projects directly, the repository only acts as an index, and the manifesto refers to an external MSI file (for example, placed on Microsoft Store, Github or project site). To control the integrity and protection against substitution used SHA256.