• Getting started with winget

    Home » Forums » Newsletter and Homepage topics » Getting started with winget


    ISSUE 20.21 • 2023-05-22 WINDOWS By Simon Bisson If you’ve used Linux, you’ll be familiar with package managers such as Debian’s apt and Red Hat’s yum
    [See the full post at: Getting started with winget]

    5 users thanked author for this post.
    Viewing 4 reply threads
    • #2560896

      winget upgrade –all –silent 

      I run this command about once a week on my desktop PC and it silently updates almost everything for me without extra hassle. It is not fool proof, some apps return incorrect version numbers or have none at all, and some others report having an update available but still can only update from the app itself, but for the vast majority of programs this just works.

      Occasionally, when installing something with winget install foo it will return multiple sources, in that case it’s as easy as doing winget install foo -s msstore or winget install foo -s winget to make it work again.

      winget install foo -h to remove any unnecessary prompts (silent install).

      The real power of winget is in being able to batch script installers this way. When I set up a new PC last time I just fed it a .bat with a list of winget install commands and it was downloading almost everything I otherwise would have to manually hunt down for.

    • #2560922

      “Drop into your command line, type a few keystrokes, and you’re automatically up to date.”

      Or don’t use the command line, don’t type anything, and use a few mouse clicks instead.

      In KDE Neon, when the “updates available” icon appears in the systray, I click that, and the list of updates appears on screen in a Discover window. I can click the button at the top, “Update all,” and it asks my password, then performs the update. I don’t even need the keyboard if I don’t want to use it (though it is possible to use keystrokes in the GUI in lieu of mouse movements and clicks too, if desired). Or I can uncheck the updates I don’t want right now, which changes the “Update all” button to “Update selected,” and press that when I am satisfied with the updates chosen.

      Discover is KDE’s software management tool, meant to be easy to use for beginners, like the MS Store, I guess, but lacking the more powerful features. That is why for most purposes, I prefer Synaptic Package Manager, which will do all the same stuff Discover does (without the pretty descriptions of various programs; it’s all business) and a lot more. For a simple update where I just want it to install everything available (99% of the time, this is the case), Discover is the path of least resistance.

      I think Synaptic is preinstalled with Mint. For other Ubuntu derivatives, it is in the repo, ready to be installed by a tool like Discover or the command line.

      Every distro I have tried has some form of graphical package manager. In each of them, you can use the command line for updates, but by no means do you have to. I am comfortable with the command line, and many years ago I would have gone out of my way to use the command line rather than any of that GUI stuff, but now I use graphical tools whenever possible, even in Linux.

      The reason I bring this up is that there are a lot of people who are intimidated by the command line, and much of what they hear about Linux supports the notion that you’re going to be using the command line a lot in Linux, for better or worse. Most of the time, you don’t have to.


      Dell XPS 13/9310, i5-1135G7/16GB, KDE Neon
      XPG Xenia 15, i7-9750H/16GB & GTX1660ti, KDE Neon
      Acer Swift Go 14, i5-1335U/16GB, KDE Neon

    • #2560998

      WingetUI makes updating much easier, obviating the need to remember commands. It is point-and-click.


      3 users thanked author for this post.
    • #2561022

      Thanks I did not know about this command. Will be using the update option very soon.

      winget search -q “” gave me a list of over 4500 items of which I recognized about 20 and many of which have a Name or Id that seem to be a bit questionable…
      but when searched for (prepend search term with ‘git ‘ to get better results) usually appeared to be valid. Some searches did not return useful information…

      Ximalaya.XimalayaLive (not in English)
      Tweaking4All.RenameMyTVSeries (in English, but I still have no clue why I have it)
      ThaUnknown.Miru (Bittorrent streaming software for cats ????)
      skymavis.mavishub (some type of game ??)

      And there were too many to search for them all manually. Is there a cross reference that uses the output of this winget command to provide an overview of each results function? Is there a list of ‘bad’ ones ? What on my system installed / is using each one ? Should any be removed ? How ?

      Thanks again for the article.

      • #2561253

        winget search -q “” gave me a list of over 4500 items of which I recognized about 20 and many of which have a Name or Id that seem to be a bit questionable…

        If you did a winget search, you searched all available packages.

        winget list will return only what you have installed (and is recognised).

        1 user thanked author for this post.
    • #2561054

      Interesting winget article. I wonder if you know about SUMO – Software Update Monitor
      https://www.kcsoftwares.com/?download A Windows, not command line, app. Has some features that winget lacks, some features that winget has that it lacks.

      Big advantage is that it seems much easier to use than winget due to Windows interface.

    Viewing 4 reply threads
    Reply To: Getting started with winget

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: