winget-cli

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

MIT License

Stars
23.1K
Committers
106

Bot releases are visible (Hide)

winget-cli - Windows Package Manager 1.3.431-preview

Published by denelon over 2 years ago

This release is the first development build after the Windows Package Manager 1.2 release candidate build for Windows 10 (1809+) and Windows 11.

Experimental features have been enabled in this release. This build will be released to Windows Insider Dev builds, and Windows Package Manager Insiders.

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/winget-cli/compare/v1.0.12576...v1.3.431

winget-cli - Windows Package Manager 1.2.10271

Published by denelon over 2 years ago

This release represents our Windows Package Manager 1.2 release candidate build for Windows 10 (1809+), and Windows 11.

Experimental features have been disabled in this release. We will follow this release with another Pre-release "developer" build at GitHub so users can continue with experimental features available.

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/winget-cli/compare/v1.0.12576...v1.2.10271

winget-cli - Windows Package Manager 1.2.3411-preview

Published by denelon almost 3 years ago

This release represents the 1.2 candidate functionality with experimental features enabled for Windows 10 (1809+), and Windows 11.

We've been busy adding functionality, fixing bugs and documentation.

Notable Features

Notable Bug Fix

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/winget-cli/compare/v1.0.12576...v1.2.3411-preview

winget-cli - Windows Package Manager v1.1.12701

Published by denelon about 3 years ago

This release is the first development build after the Windows Package Manager 1.1 release candidate build for Windows 10 (1809+).

Experimental features have been enabled in this release. This build will be released to Windows Insider Dev builds, and Windows Package Manager Insiders.

winget-cli - Windows Package Manager v1.1.12653

Published by denelon about 3 years ago

This release represents our Windows Package Manager 1.1 release candidate build for Windows 10 (1809+).

Experimental features have been disabled in this release. We will follow this release with another Pre-release "developer" build at GitHub so users can continue with experimental features available.

Bugs

#797 Silent install of "winget install git.git" is not working
#1497 Make rename retry more frequently for longer, then try making a hardlink

Blog

https://devblogs.microsoft.com/commandline/windows-package-manager-1-1/

winget-cli - Windows Package Manager v1.0.12576

Published by denelon about 3 years ago

This release includes several new features related to the experimental Microsoft Store source. The REST API now has support for source level agreements, and an HTTP header pass through. Packages can also have agreements a user must accept before downloading and installing a package. We have also made improvements for handling silent installation with MSI UAC issues, and deferred registration for MSIX packages. A new experimental feature will show dependencies listed in a package manifest. The COM API is now considered a stable feature, and has been removed from experimental features. We have also started the work to begin supporting the new v1.1 schema #1243. The implementation for these new keys will follow in subsequent releases.

Thanks to @ChungZH for making some UX improvements to show how many upgrades are available, and displaying the version number during install.

Features

#200 Require EULA/TOS acceptance before download starts.
#893 Add support for an arbitrary HTTP header value in REST API
#967 Max Installer nodes 1024
#1012 Experimental Show dependencies
#1174 Added "doProgressTimeoutInSeconds" Setting
#1216 Add Microsoft Store REST Source as default option and fix telemetry gaps
#1337 Show the version number during install.
#1354 winget upgrade: Display count of available upgrades
#1396 Add support for rest api 1.1 interface
#1397 Add deferred registration for MSIX
#1398 Use MSI API to allow UAC prompts on MSI silent installs
#1400 Client verbose logging does not log sufficient information to diagnose issues interacting with rest sources.
#1419 Remove the packagedAPI experimental feature flag

Bugs

#1406 InstallerSuccessCodes in manifest schema does not provide any numerical limits
#1416 winget source add doesn't warn you when adding an unsupported source.

winget-cli - Windows Package Manager v1.0.11692

Published by denelon over 3 years ago

This release fixes a few bugs. The first one is related to users and installers executing [Ctrl]+[c]. The next is a fallback when Delivery Optimization encounters failures. The last one addresses permissions inherited from the directory installers are saved to, and may also help with some installers due to long path names.

Bugs

#189 Discord does not install
#1060 Fails to update program, error 0x801901a0
#1076 winget install results in 0x80d03002 : unknown error

Notes

Over the coming weeks we will be making changes to version numbers for the App Installer shipped in the Microsoft Store. We will be making some space for servicing agility so we can continue to iterate quickly with our preview releases. This version will be published to all Windows Insider channels and the Windows Package Manager Insiders.

Going forward, development releases will be published to Windows Insider Dev channel and Windows Package Manager Insiders. We will leverage Windows Insider Beta channel for servicing issues, and the Windows Insider Release Preview channel for future release candidates.

If you want the latest preview releases, there will be three choices.

  1. Join the Windows Package Manager Insider program.
  2. Run a Windows Insider Dev channel build.
  3. Download the preview releases from GitHub.

Any users on released versions of Windows who have downloaded releases from this GitHub repository should ensure they download and install this release to ensure continuity of access to the Windows Package Manager. With this release we are discontinuing support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v1.0.11451

Published by denelon over 3 years ago

Windows Package Manager v1.0

This release includes all of the features and bug fixes from the v1.0 milestone.

The following commands are available:
  install    Installs the given package
  show       Shows information about a package
  source     Manage sources of packages
  search     Find and show basic info of packages
  list       Display installed packages
  upgrade    Upgrades the given package
  uninstall  Uninstalls the given package
  hash       Helper to hash installer files
  validate   Validates a manifest file
  settings   Open settings
  features   Shows the status of experimental features
  export     Exports a list of the installed packages
  import     Installs all the packages in a file

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.4.11391 Preview

Published by denelon over 3 years ago

This release includes improvements for the correlation between manifests in the community repository and entries in Add / Remove Programs. We've also added a hash for the manifest itself to ensure the chain of trust with the PreIndexed package (default source). Several features have moved from experimental to released including "list", "upgrade", "uninstall", and "export".

New Features

#959 Ensure chain of trust with packaged index
#118 Repository REST API
#120 Upgrade an installed App
#220 Export/Import apps list
#121 Uninstall an Installed App
#119 List installed Apps
#151 Support Delivery Optimization

Bug Fixes

#723 commands not showing with white cmd background
#955 Name and Publisher Correlation in CompositeSource
#966 Fix a few polish Items
#973 Fix for a bug, DO timeout to 60 seconds, minor version bump

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.3.11201 Preview

Published by denelon over 3 years ago

This release includes VT-based progress reporting, a bug fix for upgrade, support for Delivery Optimization, and multiple locale support for manifest data.

New Features

#869 Provide Taskbar progress indicator in Windows Terminal
#909 Implement Delivery Optimization (Initial work on #151 Support Delivery Optimization)
#903 Multiple locale support for Windows Package Manager workflows

Bug Fixes

#904 Make correlation logic from available source to installed source look at all versions instead of just latest

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.3.11102 Preview

Published by denelon over 3 years ago

This release includes the first stable release for the import command.

The Group Policy .admx and .adml files are also included in this release.

New Features

#220 Export/Import apps list - Import is now a default feature

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.2.10971 Preview

Published by denelon over 3 years ago

This release includes the initial implementations for group policy, user vs. machine scope, and search against a REST source.

Group Policy will be implemented via ADMX Ingestion. The .admx and .adml files will be provided in the next release of the Windows Package Manager preview.

Some packages support one or more installation scopes. Settings and a command line argument have been added to specify either "User" or "Machine" for manifests with the proper values and configuration. Additional details available in the PR #819 Settings and command line argument for specifying scope.

Third party repositories will be enabled via a REST API. This release includes the second round of implementation work which includes the ability to search for packages against a REST based source. A reference implementation will be provided in a different open-source repository in the coming months.

New Features

#154 Support for Group Policy Management
#149 User vs. System installation (non MSIX)
#118 Added Experimental support for Repository REST API

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.2.10771 Preview

Published by denelon over 3 years ago

This release includes a few new features as well as some improvements and bug fixes.

The most noteworthy new experimental feature is winget import. You can pass a properly formatted JSON file using import, and the Windows Package Manager will install multiple packages with one command. Note: some packages trigger a reset in the shell or terminal so you will see an incorrect failure notification. In the event one of these packages is included in an import, the import command will not finish unless it is the last package installed.

Known packages are:

  • Microsoft.PowerShell
  • Microsoft.PowerShell-Preview
  • Microsoft.WindowsTerminal
  • Microsoft.WindowsTerminalPreview

Users can now opt-out of Windows Package Manager telemetry using winget settings. The Windows telemetry settings still take precedence if they are disabled.

The Windows Package Manager validation command has been updated to support the new v1.0 manifest schemas.

Some packages return a non-zero success code after the package has been installed. Once the v1.0 manifest schemas are in place, these non-zero success codes can be added to manifests and client will no longer report an install failure if one is returned.

New Features

#137 Support non-zero exit codes as success (requires manifest version 1.0)
#220 Added Experimental support to import multiple packages from a file
#279 Opt-Out of Telemetry
#740 Support for manifest v1.0 schema validation

Bug Fixes

#794 The Experimental Upgrade command now correctly selects the latest version of a package

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.2.10191 Preview

Published by denelon over 3 years ago

This release includes the experimental uninstall command. Any application in Add/Remove Programs can be uninstalled. The experimental list feature also needs to be enabled to use winget uninstall.

Some workflow improvements were also made to this version to improve install success rates.

New Features

#121 Added Experimental support to uninstall an installed App

Improvements

#648 Workflow improvements to increase winget command success rate

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.2.3162 Preview

Published by denelon almost 4 years ago

This release improves the experimental list and upgrade commands by showing Add/Remove Programs (ARP) entries.

The default location for installer logs was moved to the same location as winget logs, thus allowing them to be collected by Feedback Hub. If you encounter a bug, just submit feedback [Windows]+[f] and the logs will be sent for us to be able to review what went wrong.

Trusted sources (like the Microsoft Community Package Manager Repository) will have downloaded files set to Zone 2. Other sources will have be set to Zone 3, and the file will be run through all local Anti-virus (AV) software by attachment execution services.

edit:

Here is what we do when downloading and executing an installer:

  1. Always set "Mark of the Web" with ZoneIdentifier URLZONE_INTERNET(3) when downloading the installer.
  2. Verify the installer SHA256
  • If the hash does not match: Leave "Mark of the Web" at URLZONE_INTERNET(3)
  • If the hash matches:
    • If the installer is from a trusted source, modify "Mark of the Web" to ZoneIdentifier URLZONE_TRUSTED(2)
    • If the installer is from an untrusted source, call Attachment Execution Service to trigger anti virus and determine ZoneIdentifier

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.2.2941 Preview

Published by denelon almost 4 years ago

The reference to the JSON schema has been added to the default schema (for new installs only). You can add the following line to your settings file after the first open curly brace "{"

"$schema": "https://aka.ms/winget-settings.schema.json",

If you are using Visual Studio Code, you will see support for the JSON settings. We also fixed a bug affecting the layout of extended characters.

We're working on list and upgrade. They are available as experimental features, but they are not complete. List will display MSIX Apps regardless of how they were installed on the system. Upgrade has meta-data dependencies in the manifest. Without "PackageFamilyName" and "ProductCode" in the manifest, no upgrades will show as available.

Once list is complete, it will show all applications installed on your system. It may also help determine the proper values to add for "PackageFamilyName" and "ProductCode".

We have also added the file "Microsoft.DesktopAppInstaller.SHA256.txt" to this release. It contains the SHA256 for the appxbundle in this release. We are doing this as an example of how we might support #568 "Include checksums in the GitHub releases".

New Features

#119 Added Experimental support for List Installed Apps
#120 Added Experimental support to Upgrade an Installed App

Bugs

#562 Fix alignment of table output with extended characters

Note

Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.

winget-cli - Windows Package Manager v0.2.2521 Preview

Published by denelon about 4 years ago

Experimental support for a curated list of store apps for developers.

New Features

#535 Replace yaml-cpp with libyaml
#544 Add pre-indexed Microsoft Store source

winget features will show the status of the Microsoft Store Support.
winget settings will launch the settings file in your default JSON editor.

Add the following code block to your settings file and the store source will be added

{
    "experimentalFeatures": {
        "experimentalMSStore": true
    }
}
winget-cli - Windows Package Manager v0.1.42241 Preview

Published by denelon about 4 years ago

In this release, you get PowerShell [tab] autocomplete.
When multiple sources are present, search will look across them. (This is in anticipation of support for store apps.)

New Feature

#146 Autocomplete [tab] winget commands in PowerShell

You will need to modify your PowerShell $PROFILE to get this to work following these instructions.

winget-cli - Windows Package Manager v0.1.42101 Preview

Published by denelon about 4 years ago

This update will allow you to:
winget install git or winget install powershell

The default behavior for the commands above requires a case insensitive match with a package by Id, Name, or Moniker. If you specify which field with an argument, you can make it even more specific. You can use the show command to play around with it as it uses the same semantics to find a package without the need to cancel the install.

We've also added a feature toggle mechanism so you can enable or disable experimental features.
winget features will provide a list of features and their status

The first bit of work towards installing apps from the Microsoft Store has started.

Features

#460 Feature toggle
#493 Implement store app installation from manifest

Bug Fixes

#292 winget should install an app if there is an exact match (eg 'git')
#481 Further source integrity checks
#488 Enable Control Flow Guard
#482 Block elevated process from overriding hash mismatch
#492 Change show and install to use a narrower search

winget-cli - Windows Package Manager v0.1.41821 Preview

Published by JohnMcPMS over 4 years ago

This update includes a new configuration mechanism, a few bug fixes, and some security improvements. We've also started making improvements for non-ASCII characters in paths.

A special shout out to @philipcraig, @edjroot, @bnt0, @danielchalmers, @superusercode, @doppelc, @sachinjoseph, @ivan-kulikov-dev, @chausner, @jsoref, @DurableMicron, @Olifant1990, @MarcusP-p, @himejisyana, & @dyl10s (in order of appearance).

Features

Settings command #396

winget settings

Bug Fixes

Program names seem to be case sensitive #252
Interactive installation parameter does not work #365