Developer(s) | Microsoft |
---|---|
Initial release | 13 May 2020 |
Stable release | 1.8.1911[1]
/ 10 July 2024 |
Preview release | 1.9.25180[2]
/ 29 October 2024 |
Repository | github |
Written in | C++,[3] XML,[3] C,[3] C#,[3] Python,[3] Extensible Application Markup Language,[3] CMake,[3] Ada,[3] shell script,[3] Perl,[3] Pascal,[3] XSLT,[3] Autoconf,[3] HTML,[3] PowerShell,[3] DIGITAL Command Language,[3] JavaScript,[3] make,[3] assembly language[3] |
Operating system | Windows 10 or later |
Size | ~23 MB |
Available in | Chinese, English, French, German, Japanese, and others |
Type | package manager, installation |
License | MIT License[4] |
Website | learn |
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.[5][6] Independent software vendors can use it as a distribution channel for their software packages.
Windows Package Manager was first announced at the Microsoft Build developer conference in May 2020.[7][6]
Before deciding to develop Windows Package Manager, the team behind it explored Chocolatey, Scoop, Ninite, AppGet, Npackd and the PowerShell-based OneGet.[6] 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.[8] 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.[8][9][10] Microsoft responded with a blog post crediting a number of winget's features to AppGet.[11][12][13]
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.[14]
The winget tool supports installers based on EXE, MSIX, and MSI.[15] The public Windows Package Manager Community repository hosts manifest files for supported applications in YAML format.[16] In September 2020, Microsoft added the ability to install applications from the Microsoft Store and a command auto-completion feature.[17]
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.[18][19]
The winget client source code and the community manifest repository are licensed under MIT License and hosted on GitHub.[20][16]
Name | Description |
---|---|
configure | Configures the system into a desired state |
export | Exports a list of the installed applications |
features | Show status of experimental features |
hash | Hash installer files |
import | Install all the applications in a file |
install | Install the given application |
list | Display installed applications |
pin | Manage package upgrade pins |
show | Show information about the given application |
search | Search and show basic information of applications |
settings | Open winget configuration settings |
source | Manage application sources |
upgrade | Upgrades the given application |
uninstall | Uninstall the given application |
validate | Validate a manifest file |
Search for and installs variable $PKG_ID
:
winget install --id=$PKG_ID -e
List all installed packages:
winget list
Update all packages:
winget upgrade --all
Microsoft.VisualStudioCode
Google.Chrome
Mozilla.Firefox
BraveSoftware.BraveBrowser
VivaldiTechnologies.Vivaldi