Microsoft has given a lot to talk about this month And it is that since the statement of the president of Microsoft in which he admitted that he was wrong in his attitude towards open source software, fans of both sides lost control and their opinions were not kept (both good and bad).
Now, in slightly more recent news, Microsoft has made another move that has made many think a bit about its relationship with open source. AND is that its developers announced the publication of the first version of test your package manager "Winget" (Windows Package Manager).
This new package manager provides tools for installing applications using the command line (which Linux users will immediately recognize) since many Linux distributions (for the most part) use package managers with which instead of looking for an application on the web, download an installer and click a wizard, it can be run a quick command to find and install an application by name.
At this time, this tool is intended for developers, But Microsoft is aware that third-party developers might one day create an easy graphical tool that finds and installs applications quickly.
Which could basically be like the Windows Store, but with access to a whole universe of Windows desktop apps that people actually use. In other words, it's like Chocolatey, but built into Windows.
The current version supports commands for
- Find an app
- Show package information
- Configure repositories
- Work with hashes of installer files
- Verify the integrity of the metadata
In the next version, the uninstall, list and update commands are expected.
Package parameters are defined through files with a manifest in YAML format. The executable files are stored directly on the main project servers, the repository only acts as an index and the manifest refers to an external msi file (for example, hosted on GitHub or on the project website) and uses the hash SHA256 to control integrity and protect against forgery.
The first full-featured version is scheduled for May next year, will support integration with Microsoft Store catalog, input autocomplete, various version categories (versions, beta versions), installation of system components and applications for the control panel, optimizations to deliver very large files (delta-updates ), package sets, an interface for generating manifests, working with dependencies, installation files in zip format (in addition to msi), etc.
The package manager winget is now available to users of the latest experimental version of Windows Insider and will be shipped as part of Desktop Application Installer 1.0.
Currently, projects like 7Zip, OpenJDK, iTunes, Chrome, Blender, DockerDesktop, Dropbox, Evernote, FreeCAD, GIMP, Git, Maxima, Inkscape, Nmap, Firefox, Thunderbird, Skype, Edge, VisualStudio, KiCad have already been added to the repository, LibreOffice, Minecraft, Opera, Putty, TelegramDesktop, Steam, WhatsApp, Wireguard and Wireshark, as well as a large number of Microsoft applications, are available for installation from this package manager.
Winget's code is written in C ++ and distributed under the MIT license. Packages are installed from a community supported repository. Unlike installing programs from the Windows Store catalog, winget allows you to install applications without unnecessary marketing, images, and advertising.
If you want to know more about it, you can check the details In the following link.
How to test Winget?
Who are they for Windows Insider users”And are interested in this package manager, they can enroll in the Windows Package Manager Insiders Program with the same Microsoft account email address that you use in your Insider build.
Once approved, Microsoft Store will update the App Installer package on your Windows 10 Insider build and you will now have access to the winget command in PowerShell.