Windows Package Manager (Winget)
What is Winget?
Winget is a Windows native open source package manager created by Microsoft. It is very similar in principle to chocolatey and other package managers. The difference is that it was created by Mircrosoft and is therefore natively integrated into Windows operating systems. It lacks certain quality of life and management features that other solutions have, but it is still at the beginning of its journey. With the backing of Microsoft and already an integral part of the Intune App delivery, it is only a matter of time before it catches up with its peers.
Basic Information
Winget standard has two sources.
- Winget public repository (winget)
- Windows Store (msstore)
In Addition you can install Windows features with winget and host your own private repository on Azure. This can be done for a few Euros per month (if using SQL tier demo).
Apps in the Winget public repository are need to pass the same security measures that the Windows Store Apps need to pass.
App information
- Winget apps are structured like
myApp.myApp
(for example Notepad++.Notepad++) - Winget can install windows store apps like (for example 9MSMLRH6LZF3 = Windows Notepad)
Basic commands
Show winget commands
winget -?
Search for a programm in all sources
winget search [App Name]
List installed programs
winget list [App Name]
Install program
winget install [App Name]
Uninstall program
winget uninstall [App Name]
Update program
winget update [App Name]
Download Microsoft Store App Installer
# Download Installer
winget download [App Name] -s msstore
# Install Installer
Add-AppxPackage -Path C:\Users\[Username]\downloads\[AppIdentifier]\[App Name].appx