winget_windows_package_manager

winget Windows Package Manager

winget - the Windows Package Manager

Snippet from Wikipedia: Windows Package Manager

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.

}} 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.<ref>

</ref><ref name=“devblogs”>Windows Package Manager Preview | Windows Command Line</ref> ISVs 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.<ref>Microsoft debuts Windows Package Manager for your dev environment | VentureBeat</ref><ref name=“devblogs” />

Before deciding to develop Windows Package Manager, the team behind it explored Chocolatey, Scoop, Ninite, AppGet, Npackd and the PowerShell-based OneGet.<ref name=“devblogs” /> After the announcement of winget, Keivan Beigi, the developer of AppGet claimed<ref>

</ref>

that Microsoft interviewed him in December 2019 under the pretense of acquiring AppGet and hiring Beigi. 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.<ref>

</ref><ref>

</ref><ref>

</ref> Microsoft responded with a blog post crediting a number of winget's features to AppGet.<ref>

</ref><ref>Microsoft gives AppGet creator credit for Windows Package Manager - Neowin</ref>

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.<ref>

</ref>

Overview

The winget tool supports installers based on EXE, MSIX, and MSI.<ref>Use the winget tool to install and manage applications | Microsoft Docs</ref> The public Windows Package Manager Community repository hosts manifest files for supported applications in YAML format.<ref name=“winget-pkgs”>GitHub - microsoft/winget-pkgs: The Microsoft community Windows Package Manager manifest repository</ref> In September 2020, Microsoft added the ability to install applications from the Microsoft Store and a command auto-completion feature.<ref>

</ref>

To reduce the likelihood of 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.<ref name=“zdnet”>

</ref><ref>How to Use Windows Package Manager - Petri</ref>

The winget client source code and the community manifest repository are licensed under MIT License and hosted on GitHub.<ref>

</ref><ref name=“winget-pkgs” />

Commands

Name Description
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
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

Example

The following example searches for and installs Visual Studio Code, a code editor from Microsoft.<ref name=“zdnet” /> <syntaxhighlight lang=“powershell”> winget install vscode </syntaxhighlight>

See also

References

External Links

winget_windows_package_manager.txt · Last modified: 2021/08/07 04:29 by 127.0.0.1