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]
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Getting started with winget
Home » Forums » Newsletter and Homepage topics » Getting started with winget
- This topic has 11 replies, 7 voices, and was last updated 5 days, 16 hours ago.
AuthorTopicSimon Bisson
AskWoody PlusViewing 4 reply threadsAuthorReplies-
erbkaiser
AskWoody Pluswinget 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.
-
Ascaris
AskWoody MVP“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 -
Mark
AskWoody Plus -
Simon Bisson
AskWoody Plus
-
Phil B
GuestThanks 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.
-
erbkaiser
AskWoody Pluswinget 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.
Bennett
GuestInteresting 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.
-
Simon Bisson
AskWoody Plus -
bbobccat
AskWoody Plus -
Paul T
AskWoody MVP -
b
ManagerPowerShell is built-in to Windows. There is only one.
cheers, Paul
It is important to note that PowerShell 7.x won’t completely replace PowerShell 5.x when you install it on your system. Instead. PowerShell 7.x is installed in a separate location, and both versions of PowerShell remain usable on your PC.
The correct answer is PowerShell 7, NOT Windows PowerShell (5.1).
Windows 11 Pro version 22H2 build 22621.1778 + Microsoft 365 + Edge
1 user thanked author for this post.
-
-
-
Viewing 4 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Remove One Drive
by
crudolphy
2 hours, 43 minutes ago -
Firefox users on Windows 7, 8 and 8.1 moving to Extended Support Release
by
Alex5723
8 hours, 44 minutes ago -
How to change “User Account Control:Run as administrator”
by
DKThompson
7 hours, 1 minute ago -
Two monitors, want different “fixed” wallpaper on each one
by
MauryS
13 hours, 35 minutes ago -
Microsoft forcing move to Microsoft account?
by
Tom
11 hours, 30 minutes ago -
Event 2545 Device Management – Enterprise – Diagnostics – Provider
by
Tex265
14 hours, 54 minutes ago -
QBot malware exploits Windows WordPad EXE to take over
by
Alex5723
1 day, 10 hours ago -
Laptop powers off during KB5026361 update
by
dhunter
1 day, 9 hours ago -
How to enable Sleep in Shut down menu?
by
Alex5723
1 day, 11 hours ago -
Beware of Google’s .ZIP domain and password-embedded URLs
by
B. Livingston
6 minutes ago -
Longstanding feature requests, and their status
by
Mary Branscombe
1 day, 19 hours ago -
Three typing tutors — no more “hunt and peck”
by
Deanna McElveen
1 day, 18 hours ago -
Is online banking secure?
by
Susan Bradley
28 seconds ago -
Bluetooth audio not working on older Lenovo T420 with Win 10
by
WSmsc0357
1 day, 1 hour ago -
Using wildcards in search and replace
by
Bob Karrow
2 days, 4 hours ago -
How is Windows XP an security risk?
by
Curious
15 hours, 15 minutes ago -
Is using VPN a good idea?
by
Tex265
2 days, 1 hour ago -
How to prevent/disable Bitlocker Automatic Device Encryption?
by
EricB
2 days, 12 hours ago -
Unexplained aspects of installing the latest update of Office 2021
by
TonyC
2 days, 12 hours ago -
Getting started with macOS Disk Utility: RAID, images, and repairs
by
Alex5723
2 days, 21 hours ago -
Getting started with macOS Disk Utility: Resizing, snapshots, and journaling
by
Alex5723
2 days, 21 hours ago -
Are you ready for AI?
by
Susan Bradley
9 hours, 35 minutes ago -
Windows 11 Insider Preview build 25375 released to Canary
by
joep517
3 days ago -
Windows 11 Insider Preview Build 22621.1825 and 22624.1825 released to BETA
by
joep517
3 days ago -
Duplicate image name brings up old images
by
Susan Bradley
4 days, 5 hours ago -
XP offline activation tool, xp_activate32.exe
by
Alex5723
1 day, 18 hours ago -
Huge Tesla leak reveals thousands of safety concerns, privacy problems
by
Alex5723
2 days, 7 hours ago -
Android : iRecorder – Screen Recorder new Android RAT
by
Alex5723
4 days, 10 hours ago -
HP has found an exciting new way to DRM your printer!
by
Alex5723
4 days, 10 hours ago -
Outlook 2019 Resend “you do not appear to be the original sender…” msg
by
Mw Ward
4 days, 21 hours ago
Recent blog posts
- Beware of Google’s .ZIP domain and password-embedded URLs
- Longstanding feature requests, and their status
- Three typing tutors — no more “hunt and peck”
- Is online banking secure?
- Are you ready for AI?
- MS-DEFCON 4: Skip those Secure Boot scripts
- Getting started with winget
- No NumLock key? Problem solved! Here’s the fix.
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2023 by AskWoody Tech LLC. All Rights Reserved.