Undetectable Humanizer: Lifetime Subscription
Transform AI-Generated Text into Human-Like, High-Ranking Content & Bypass Even the Most Sophisticated AI Detectors
Get 95% Deal

Windows Package Manager 1.0 final is out

Martin Brinkmann
May 27, 2021
Windows 10
|
14

Microsoft released the first stable version of Windows Package Manager, a tool to install and manage programs efficiently on Windows 10 machines.

Many things have changed since our first look at Winget, wish we published in May 2020.

At its core, it is still a package manager that you may know from other operating systems. Windows users may compare it to program installers such as Ninite, Scoop, or just-install, which offer similar functionality but are maintained by third-parties.

Windows Package Manager 1.0

windows package manager 1.0 winget

Windows Package Manager is a command line tool. You may check out Winstall, which is a web GUI for the package manager, if you prefer graphical user interfaces.

Installation is straightforward: the program is distributed with App Installer, which you can download and install from the Microsoft Store. You may also download the latest version from the project's GitHub repository instead and install it that way.

Open a PowerShell terminal window after installation, e.g. by selecting Start, typing PowerShell, and selecting the entry, and run winget to display all available parameters.

The ones that you may be using the most are install, uninstall and search. Winget comes without option to display all available programs that you may install, check out the Community Repo here.

Use winget search to find packages of interest. All packages of the community repo are tagged, and you may search for program names or types to find specific applications to install.

A search for video returns several dozen entries, including popular programs such as PotPlayer, YouTube DL GUI, SMPlayer, VLC Media Player, OpenShot, K-Lite Codec Packs, and more. The community repo hosts more than 1500 different programs at the time.

winget install

If you have spotted a package that you would like to install, use winget install to do so. Just look at the name of the package, and add it as a parameter to the command, e.g. winget install OpenShot; this downloads and  installs the OpenShot program on the system.

Install supports parameters to customize the installation, e.g. -h to run the installer in silent mode or -o to create a log file.

Use the upgrade command to check for available upgrades. The command winget upgrade checks for upgrades for all installed programs, even those not installed by the package manager but through other means on the system. Run winget upgrade -all to upgrade all programs with updates at once, or winget upgrade PACKAGENAME to upgrade only the specified package.

The uninstall command finally removes a package from the system. It works just like the install command, but will remove the selected application from the device.

System administrators may download and use policies, and use additional commands and options, including the ability to host private repositories or installing local packages.

A command reference is available on Microsoft's Docs website. Thee you find a tutorial on using a script to install multiple applications in one go using winget.

Closing Words

Winget is a powerful package manager for Microsoft's Windows 10 operating system that gives home users and administrators a new tool at hand to install and manage software programs.

Whether it will play a role in the upcoming Store changes remains to be seen. Microsoft plans to lift restrictions to improve the popularity of its Store.

Now You: have you tried winget? What is your experience?

Summary
Windows Package Manager 1.0 final is out
Article Name
Windows Package Manager 1.0 final is out
Description
Microsoft released the first stable version of Windows Package Manager, a tool to install and manage programs efficiently on Windows 10 machines. 
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Stephane Pellegrino said on July 8, 2021 at 10:33 am
    Reply

    Bugs everywhere… Not ready !!

  2. Planetsi said on June 3, 2021 at 1:07 am
    Reply

    I am a little frustrated that it runs in the users context (Desktop installer) but really needs elevated to install some packages. Would of loved to be able to use this with Intune in the system context so I could managed apps by code only. Shame, it is so close to being a really awesome.

  3. Pootch said on May 28, 2021 at 8:46 am
    Reply

    How to add the community repo? I get an error when I try to add it “No ranges for the specified operation were able to be processed.”

  4. Peter said on May 27, 2021 at 7:37 pm
    Reply

    I tried
    winget upgrade –all
    and most of the programms get upgraded. I guess it’s best to start powershell as administrator.

    As far as I can see, only Calibre and Open Office didn’t install well.
    Minor anoyance: I get a lot of icons on my clean desktop, so I will read the manual now to see if it is possible to avoid that. I guess not.

  5. Steve said on May 27, 2021 at 12:40 pm
    Reply

    Wait until the bad guys start exploiting this. Either but using it to distribute more malware once they get their first-stage going. Or worse, by making people install the wrong package and get owned. Just wait.

    1. asdsd said on May 28, 2021 at 2:55 pm
      Reply

      look at chocolatey, is the same principle and works for years already without shady business.

      1. Steve said on May 29, 2021 at 1:59 pm
        Reply

        @asdsd
        Even them warn you about some things to keep in mind when using it.
        I guess the best use is if you run your own private repository and keep verifiying hashes periodically so it is all under your control.
        Now, for the normal folk doing things like choco upgrade all -y is asking from trouble because you lose sight of whatever each upgrade changed. Same when you install packages, it goes one way, no custom way like when you do it manually.
        Anyhow, my main take about all this automatation is this: it is all fine and dandy when you apply it to do things that are always the same and you at some point checked the execution of those steps. When you stretch it, take what happened with Codecov’s Bash Uploader. If you want to stretch it even more, take what happened with the asian dude that died on a Tesla while he was playing a game in his cell and trust the car autopilot. Or more, look at NTI report on US Nuclear Weapons Modernization and how the plan to make AI a part of it.

  6. ilev said on May 27, 2021 at 11:11 am
    Reply

    Where are these apps downloaded from ? Some shady sites or always from developers sites ?
    Does the download process / log display the source url ?

    1. Dumbledalf said on May 27, 2021 at 3:12 pm
      Reply

      It’s from Microsoft, they wouldn’t risk their hide to download them from some shade sites.

    2. Martin Brinkmann said on May 27, 2021 at 12:39 pm
      Reply

      The repo defines the download path, you can check the manifest files to find out about a specific program. I checked a few, and they are downloaded from the project’s site, e.g. GitHub or the developer site.

  7. Corky said on May 27, 2021 at 9:00 am
    Reply

    Gave it a go once but didn’t see a need for it over what I’d consider the traditional way of automating the download and install of programs.

    Honestly i don’t see the need for a package management system on Windows, it’s not like it’s a modular type of OS where you can tailor it to you needs.

    1. asdsd said on May 28, 2021 at 2:56 pm
      Reply

      Reinstalling the system regulary, keeping your programs up-to-date without hassle or individual care for each program, using VMs regularly. All these are cases in which you would like to have such a package manager

      1. Corky said on May 28, 2021 at 11:54 pm
        Reply

        All things that can already be done with a simple powershell script.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.