Windows Package Manager (WinGet) 1.0 released for Windows 10

Page 1 of 3 123 LastLast
    Windows Package Manager (WinGet) 1.0 released for Windows 10

    Windows Package Manager (WinGet) 1.0 released for Windows 10


    Last Updated: 27 May 2021 at 15:57

    We started a journey to build a native package manager for Windows 10 when we announced the Windows Package Manager preview at Microsoft Build 2020. We released the project on GitHub as an open-source collaborative effort and the community engagement has been wonderful to experience! Here we are today at Microsoft Build 2021…

    We are excited to announce the release of Windows Package Manager 1.0!

    Windows Package Manager 1.0

    Client

    The winget client is the main tool you will use to manage packages on your machine. The image below displays winget executed in Windows Terminal via PowerShell. You can see the list of available commands used to manage packages and work with manifests. You can search for a package (search looks at the name, moniker, and tags) using winget search vscode. Installing something on your machine is as easy as winget install PowerToys. You can check for upgrades to packages with winget upgrade or you can just upgrade everything with winget upgrade -all. Are you setting up a new machine? Be sure to winget export packages.json on your current machine (and copy the file to your new machine) so you can winget import packages.json on the new machine. With winget list you can see everything installed in Add / Remove Programs, and you can winget uninstall <SomePackage> to remove it from your system. You can learn more about the commands and syntax from our documentation.



    How do I get it?

    If you are running on any current Windows Insider build or you have signed up for the Windows Package Manager Insider group you may already have it. The Windows Package Manager is distributed with the App Installer from the Microsoft Store. You can also download and install the Windows Package Manager from our GitHub releases page or just directly install the latest available version.



    Version 1.0 of Windows Package Manager will soon ship as an automatic update via the Microsoft Store for all devices running Windows 10, version 1809 and later. If you are an IT Professional, we have published information regarding Managing the Windows Package Manager with Group Policy. Users will be able to determine which policies are in force by executing winget --info.

    Microsoft Community Repository

    The community has contributed over 1,400 unique packages to the Microsoft community repository! You can winget search <SomePackage> to see if the package is available. It still amazes us how many great pieces of software there are for Windows 10 in the repository. When the search doesn’t return any results, you can go through the process to launch Edge and search for the software installer download. Once you find it, you can add it to the community repository, so you don’t have to go through that process again. After writing dozens of manifests by hand we realized there should be a tool for that.

    Windows Package Manager Manifest Creator Preview

    Today we are releasing another open-source tool to help with submitting packages to the Microsoft community repository. Open your favorite command-line interface and execute winget install wingetcreate to install the Windows Package Manager Manifest Creator. Once the tool has been installed, execute wingetcreate new provide the URL to the installer. Then the tool will download the installer, parse it to determine any of the manifest values available in the installer, and guide you through the process to generate a valid manifest. If you provide your GitHub credentials when prompted, it will even fork the repository, create a new branch, submit a pull request, and provide you the URL to track its progress. The image below displays wingetcreate executed in Windows Terminal via PowerShell.



    Private Repositories

    Last but not least, we’ve released a reference implementation for the REST API source so you can host your own private repository. This is a new type of source for the Windows Package Manager. Our default source is a “PreIndexed” Package delivered via the Microsoft Store, but you may add additional REST based sources if they properly implement the JSON based REST API schema.


    Demitrius Nelon
    Senior Program Manager


    Source: https://devblogs.microsoft.com/comma...e-manager-1-0/

    See also: https://github.com/microsoft/winget-...tag/v1.0.11451
    Brink's Avatar Posted By: Brink
    27 May 2021


  1. Posts : 1,079
    10 + Linux
       #1

    Windows Package Manager v1.0.11451


    Another thing to play with.

    Code:
    winget upgrade --all
    Found Notepad++ [Notepad++.Notepad++]
    This application is licensed to you by its owner.
    Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
    Downloading https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.9.5/npp.7.9.5.Installer.x64.exe
                    4.03 MB / 4.03 MB
    Successfully verified installer hash
    Starting package install...
    Successfully installed
    
    Found VLC media player [VideoLAN.VLC]
    This application is licensed to you by its owner.
    Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
    Downloading https://download.videolan.org/vlc/3.0.14/win64/vlc-3.0.14-win64.exe
                    40.6 MB / 40.6 MB
    Successfully verified installer hash
    Starting package install...
    Successfully installed
    Started working after clicking this file on the link below (open and upgrade):
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.appxbundle

    Unzip the file <<source code>> from there first:
    Release Windows Package Manager v1.0.11451 . microsoft/winget-cli . GitHub
    Last edited by MikeMecanic; 30 May 2021 at 10:07.
      My Computer


  2. Posts : 4,793
    Windows 10 preview 64-bit Home
       #2

    It's already incorporated in the Dev channel where the Windows Package Manager gets automatic updates.
      My Computers


  3. Posts : 1,079
    10 + Linux
       #3

    10.0.21390.1 No Master Switch


    Thanks for replying @Fabler2,

    At first, it is not working with the latest dev build. Powershell would give an error for winget upgrade or the list of apps (red).

    I get this in powershell this morning and it is not working anymore:

    Powershell ISE:
    Code:
    PS C:\Windows\system32> winget upgrade
       -\| 
       - 
    No installed package found matching input criteria.
    In PS:
    Code:
    PS C:\Windows\system32> winget upgrade
    No installed package found matching input criteria.
    Code:
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
    
    PS C:\Windows\system32
    >

    That should be made automatically in silence and/or on board with a dev build.

    This is where we started:

    How to use the Windows Package Manager to update installed programs at once - gHacks Tech News
    Attached Thumbnails Attached Thumbnails Windows Package Manager (WinGet) 1.0 released for Windows 10-trigger-switch.png  
      My Computer


  4. Posts : 4,793
    Windows 10 preview 64-bit Home
       #4

    Runs fine either via Windows PowerShell or Windows Terminal for me in the Dev channel.

    Windows Package Manager (WinGet) 1.0 released for Windows 10-screenshot_3.pngWindows Package Manager (WinGet) 1.0 released for Windows 10-screenshot_2.png

    Windows Package Manager (WinGet) 1.0 released for Windows 10-screenshot_5.png
    Last edited by Fabler2; 30 May 2021 at 10:43. Reason: Added info
      My Computers


  5. Posts : 1,079
    10 + Linux
       #5

    Fabler2 said:
    Runs fine either via Windows PowerShell or Windows Terminal for me in the Dev channel
    Thanks again for replying, I appreciate.

    It is back to normal now. Go figure!

    Windows Specifications:
    Code:
    Edition    Windows 10 Pro
    Version    Dev
    Installed on    ‎5/‎28/‎2021
    OS build    21390.1
    Experience    Windows 10 Feature Experience Pack 321.13302.10.3
    PS or PS ISE is working (admin), but the version is higher in the previous post:

    Code:
    winget
    Windows Package Manager v1.0.11451
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    The winget command line utility enables installing applications and other packages from the command line.
    
    usage: winget [<command>] [<options>]
    
    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
    
    For more details on a specific command, pass it the help argument. [-?]
    
    The following options are available:
      -v,--version  Display the version of the tool
      --info        Display general info of the tool
    
    More help can be found at: https://aka.ms/winget-command-help
    Code:
    PS C:\Windows\system32> winget --version
    v1.0.11451
    I guess that when apps are up to date the terminal has a good reading:

    Code:
    PS C:\Windows\system32> winget upgrade --all
       - 
    No applicable update found.
    All the best,
      My Computer


  6. Posts : 3,352
    Windows 10 Pro x64
       #6

    Just tried it on my Dev machine. Accessed via Command Prompt in Administrator mode. Upgraded several apps painlessly and quickly. Once this is tied in with more apps, I think it's going to be a huge time saver.

    winget install lists all the apps currently available.
      My Computer


  7. Posts : 30,591
    Windows 10 (Pro and Insider Pro)
       #7

    There are some useful features. -show list all installed packages. Handy to make a list of them..

    Have to figure out about appropriate rights for winget. Tried to install one package, but get Access denied

    Code:
    PS C:\Users\xxx> winget upgrade
    Name                    Id                              Version      Available      Source
    ------------------------------------------------------------------------------------------
    CrystalDiskInfo         CrystalDewWorld.CrystalDiskInfo 8.11.2       8.12.0         winget
    Adobe Acrobat Reader DC Adobe.AdobeAcrobatReaderDC      21.001.20155 2021.001.20155 winget
    PS C:\Users\xxx> winget upgrade -q crystal
    No installed package found matching input criteria.
    PS C:\Users\xxx> winget upgrade -q CrystalDiskInfo
    Found CrystalDiskInfo [CrystalDewWorld.CrystalDiskInfo]
    This application is licensed to you by its owner.
    Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
    Downloading https://osdn.net/frs/redir.php?m=auto&f=crystaldiskinfo%2F74801%2FCrystalDiskInfo8_12_0.exe
      ██████████████████████████████  4.48 MB / 4.48 MB
    Successfully verified installer hash
    Starting package install...
    Installer failed with exit code: 1
      My Computers


  8. Posts : 1,079
    10 + Linux
       #8

    AndreTen said:
    There are some useful features. -show list all installed packages. Handy to make a list of them..
    Have to figure out about appropriate rights for winget. Tried to install one package, but get Access denied
    The link appears to be good Andre when pasting the url in FF. At least you can get it that way with the exit code 1.

    Retry it later, this is a new feature.
    Attached Thumbnails Attached Thumbnails Windows Package Manager (WinGet) 1.0 released for Windows 10-adobe.png  
      My Computer


  9. Posts : 1,079
    10 + Linux
       #9

    Other examples of what appears to be a great feature:

    Code:
     winget show revo
    Multiple packages found matching input criteria. Please refine the input.
    Name               Id                                 Source
    ------------------------------------------------------------
    RevoUninstallerPro RevoUninstaller.RevoUninstallerPro winget
    RevoUninstaller    RevoUninstaller.RevoUninstaller    winget
    
     winget show revouninstallerpro
    Found RevoUninstallerPro [RevoUninstaller.RevoUninstallerPro]
    Version: 4.4.5.0
    Publisher: RevoUninstaller
    Moniker: revo
    Description: Revo Uninstaller helps you to uninstall software and remove unwanted programs easily.
    Homepage: https://www.revouninstaller.com/
    License: Copyright VS Revo Group
    Installer:
      Type: Exe
      Download Url: https://www.revouninstaller.com/download-professional-version.php
      SHA256: a92d1e8924861659d24bcdbcac87921797b2a78ec25962c5cb1aa2052f2d71e9
    Code:
    winget list norton
    Name            Id  Version
    ------------------------------
    Norton Security NGC 22.21.3.48
    Code:
     winget show torbrowser
    Found TorBrowser [TorProject.TorBrowser]
    Version: 10.0.16
    Publisher: TorProject
    Description: Protect yourself against tracking, surveillance, and censorship.
    License: BSD
    Installer:
      Type: Nullsoft
      Download Url: https://www.torproject.org/dist/torbrowser/10.0.16/torbrowser-install-win64-10.0.16_en-US.exe
      SHA256: 88faff51125c0fa6865582945eabbd9f799c9e787c91718edab03b68d0ba3422
    Code:
    winget show firefox
    Found Mozilla Firefox [Mozilla.Firefox]
    Version: 88.0.1
    Publisher: Mozilla
    Author: Mozilla Foundation
    Moniker: firefox
    Description: Firefox Browser, also known as Mozilla Firefox or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards. In 2017, Firefox began incorporating new technology under the code name Quantum to promote parallelism and a more intuitive user interface. Firefox is officially available for Windows 7 or newer, macOS, and Linux. Its unofficial ports are available for various Unix and Unix-like operating systems including FreeBSD, OpenBSD, NetBSD, illumos, and Solaris Unix.
    Homepage: https://www.mozilla.org/en-US/firefox/
    License: Mozilla Public License Version 2.0
    License Url: https://www.mozilla.org/en-US/MPL/2.0
    Installer:
      Type: Msi
      Locale: en-US
      Download Url: https://download-installer.cdn.mozilla.net/pub/firefox/releases/88.0.1/win64/en-US/Firefox%20Setup%2088.0.1.msi
      SHA256: eff1bafcf80a3d8cc964624ec82690d0b3aeb485b90aa88ab2ed7972c823f3e9
    The Url works for ff and the msi icon is the one shown in post number one of build 21390.1. The MSI installer overwrites the existing browser, but I get the maintenance package in extra. Deleted in Revo after.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:35.
Find Us




Windows 10 Forums