Windows Package Manager Explained

Windows Package Manager
Windows Package Manager
Developer:Microsoft
Operating System:Windows 10 or later
Size:~23 MB
Language:Chinese, English, French, German, Japanese, and others

The Windows Package Manager (also known as winget) is a free and open-source package manager designed by Microsoft for Windows 10 and Windows 11. It consists of a command-line utility and a set of services for installing applications.[1] [2] Independent software vendors can use it as a distribution channel for their software packages.

History

Windows Package Manager was first announced at the Microsoft Build developer conference in May 2020.[3]

Before deciding to develop Windows Package Manager, the team behind it explored Chocolatey, Scoop, Ninite, AppGet, Npackd and the PowerShell-based OneGet. After the announcement of winget, the developer of AppGet, Keivan Beigi, claimed that Microsoft interviewed him in December 2019 under the pretense of employment and acquiring AppGet.[4] After talking with Beigi, Microsoft allegedly ceased communication with him until confirming one day before the launch of winget that they would not be hiring him. Beigi was dismayed at Microsoft's lack of attribution of AppGet. The release of winget led Beigi to announce that AppGet would be discontinued in August 2020.[4] [5] [6] Microsoft responded with a blog post crediting a number of winget's features to AppGet.[7] [8] [9]

Microsoft released version 1.0 of Windows Package Manager on May 27, 2021. The Microsoft Community Repository included over 1,400 packages at that date.[10]

Overview

The winget tool supports installers based on EXE, MSIX, and MSI.[11] The public Windows Package Manager Community repository hosts manifest files for supported applications in YAML format.[12] In September 2020, Microsoft added the ability to install applications from the Microsoft Store and a command auto-completion feature.[13]

To reduce the likelihood of non-Microsoft-approved software, including malicious software, making its way into the repository and onto the target machine, Windows Package Manager uses Microsoft SmartScreen, static analysis, SHA256 hash validation and other processes.[14] [15]

The winget client source code and the community manifest repository are licensed under MIT License and hosted on GitHub.[16]

Commands

NameDescription
Configures the system into a desired state
Downloads the installer from a given package-->
Exports a list of the installed applications
Show status of experimental features
Hash installer files
Install all the applications in a file
Install the given application
Display installed applications
Manage package upgrade pins
Show information about the given application
Search and show basic information of applications
Open winget configuration settings
Manage application sources
Upgrades the given application
Uninstall the given application
Validate a manifest file

Examples

Search for and installs variable :winget install --id=$PKG_ID -eList all installed packages:winget listUpdate all packages:winget upgrade --all

Package ID examples

See also

External links

Notes and References

  1. Web site: Microsoft's new Windows Package Manager is already better than the Windows Store. Tom Warren. The Verge. 20 May 2020.
  2. https://devblogs.microsoft.com/commandline/windows-package-manager-preview/ Windows Package Manager Preview | Windows Command Line
  3. https://venturebeat.com/2020/05/19/microsoft-windows-package-manager-powertoys/ Microsoft debuts Windows Package Manager for your dev environment | VentureBeat
  4. News: Microsoft copied its new Windows Package Manager from rival AppGet, claims developer. Tom. Warren. 28 May 2020. The Verge. Vox Media. June 1, 2020. en.
  5. Web site: 2020-06-01. Embrace and kill? AppGet dev claims Microsoft reeled him in with talk of help and a job – then released remarkably similar package manager. Tim. Anderson. The Register. May 28, 2020.
  6. Web site: Ashley. Stewart. June 1, 2020. A developer says Microsoft led him on about a job and buying his tool before going silent and releasing its own very similar service. Now he wants an explanation and credit for his work.. Business Insider. May 28, 2020.
  7. Web site: Liam. Tung. 2020-06-02. Windows 10: Microsoft now credits maker of package manager it 'copied' – but offers no apology. ZDNet. June 1, 2020.
  8. https://www.neowin.net/news/microsoft-gives-appget-creator-credit-for-windows-package-manager Microsoft gives AppGet creator credit for Windows Package Manager - Neowin
  9. Web site: Tom. Warren. 2020-06-02. Microsoft finally gives AppGet developer the credit he deserves. The Verge. April 20, 2022.
  10. Web site: Tim. Anderson. 2021-05-28. Microsoft releases command-line package manager for Windows (there are snags). The Register. May 27, 2021.
  11. Web site: Use the winget tool to install and manage applications . Microsoft.
  12. https://github.com/microsoft/winget-pkgs GitHub - microsoft/winget-pkgs: The Microsoft community Windows Package Manager manifest repository
  13. Web site: Lawrence. Abrams. 2020-10-10. Windows 10 Package Manager can now install Microsoft Store apps. September 23, 2020. Bleeping Computer.
  14. Web site: Liam. Tung. 2020-06-02. Microsoft's Windows Package Manager: This command-line tool can install all your apps. May 21, 2020. ZDNet.
  15. https://petri.com/how-to-use-windows-package-manager How to Use Windows Package Manager - Petri
  16. Web site: GitHub - microsoft/winget-cli: Windows Package Manager CLI (a.k.a. winget). May 20, 2020. GitHub.
  17. "Winget PKG of Visual Studio Code" https://winget.run/pkg/Microsoft/VisualStudioCode
  18. "Winget PKG of Google Chrome" https://winget.run/pkg/Google/Chrome