WinGet

From Omnia
Revision as of 23:27, 1 September 2024 by Kenneth (talk | contribs) (→‎WinGet)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WinGet

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. Independent software vendors can use it as a distribution channel for their software packages. [1]
Before deciding to develop Windows Package Manager, the team behind it explored Chocolatey, Scoop, Ninite, AppGet, Npackd and the PowerShell-based OneGet.

---


The WinGet command line tool, which is the client interface to the Windows Package Manager service, requires Windows 10 version 1809 (build 17763) or later, or Windows 11.
WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
The client requires Windows 10 1809 (build 17763) or later at this time. Windows Server 2019 is not supported as the Microsoft Store is not available nor are updated dependencies. It may be possible to install on Windows Server 2022, this should be considered experimental (not supported), and requires dependencies to be manually installed as well. [2]

winget-cli GitHub

https://github.com/microsoft/winget-cli

Microsoft Store

https://www.microsoft.com/p/app-installer/9nblggh4nns1

Install Package

winget install <package>
https://github.com/microsoft/winget-pkgs

Example:

winget install Microsoft.WindowsTerminal Microsoft.PowerToys Microsoft.VisualStudioCode

Packages

Install WindowsTerminal

winget install Microsoft.WindowsTerminal

Install PowerToys

winget install Microsoft.PowerToys

Install VisualStudioCode

winget install Microsoft.VisualStudioCode

WinGet Community Packages

Repology
https://repology.org/

-

Windows Package Manager Community Repository
https://github.com/microsoft/winget-pkgs

Explore Windows Package Manager Tool

Explore the Windows Package Manager tool - Microsoft Learn
https://learn.microsoft.com/en-us/training/modules/explore-windows-package-manager-tool/?WT.mc_id=AZ-MVP-5004737

PowerShell

PS > import-module Microsoft.WinGet.Client -verbose
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.WinGet.Client\1.8.1911\Microsoft.WinGet.Client.psd1'.
VERBOSE: Importing cmdlet 'Add-WinGetSource'.
VERBOSE: Importing cmdlet 'Assert-WinGetPackageManager'.
VERBOSE: Importing cmdlet 'Disable-WinGetSetting'.
VERBOSE: Importing cmdlet 'Enable-WinGetSetting'.
VERBOSE: Importing cmdlet 'Export-WinGetPackage'.
VERBOSE: Importing cmdlet 'Find-WinGetPackage'.
VERBOSE: Importing cmdlet 'Get-WinGetPackage'.
VERBOSE: Importing cmdlet 'Get-WinGetSettings'.
VERBOSE: Importing cmdlet 'Get-WinGetSource'.
VERBOSE: Importing cmdlet 'Get-WinGetUserSettings'.
VERBOSE: Importing cmdlet 'Get-WinGetVersion'.
VERBOSE: Importing cmdlet 'Install-WinGetPackage'.
VERBOSE: Importing cmdlet 'Remove-WinGetSource'.
VERBOSE: Importing cmdlet 'Repair-WinGetPackageManager'.
VERBOSE: Importing cmdlet 'Reset-WinGetSource'.
VERBOSE: Importing cmdlet 'Set-WinGetUserSettings'.
VERBOSE: Importing cmdlet 'Test-WinGetUserSettings'.
VERBOSE: Importing cmdlet 'Uninstall-WinGetPackage'.
VERBOSE: Importing cmdlet 'Update-WinGetPackage'.

keywords