Notice that you will see installer windows and the like open and close as winget runs through the various activities involved in performing those updates. It then shows no additional items in need of an upgrade. Ed Tittel/IDGįigure 4: Winget upgrades all four pending items. Figure 4 shows the results after running the winget upgrade -all -include-unknown command on the target PC. I’ve found it to be more useful - and to involve less additional work - to include that modifier as a matter of routine. In Figure 3, all items have values under the Version column.Īdding the -include-unknown modifier tells winget to install updates even when that column is blank. The winget upgrade -all command tells winget to update all items that appear in the upgrade list for which a version number is known. Ed Tittel/IDGįigure 3: Four updates are available for the target PC: Teams, WizTree. Notice that the Version column identifies the version currently installed, while the Available column identifies the corresponding update version one could apply. Figure 3 shows an example of this command from one of my Dev Channel test PCs, with some items in need of updates. There are three variants of winget upgrade most likely to be informative and useful:īy itself, the winget upgrade command (no additional arguments or modifiers) simply shows if any newer versions of installed packages are available. It offers insight into available updates and various ways to perform them on a Windows PC. My fave among the winget subcommands is the upgrade item. (Click image to enlarge it.) Winget’s star subcommand: upgrade (It includes items with PowerShell in their names, IDs, and tags, so it’s much more inclusive.) Ed Tittel/IDGįigure 2: Winget search PowerShell results include PowerShell items, Windows Terminal items, and related apps and applications. Figure 2 shows the output from the winget search PowerShell command. ![]() Thus, if you use the same search strings recommended in the preceding paragraph, you’ll get many more - and more interesting, usually - results back. It will list all items that include the search string. The winget search command is actually a little more helpful than show when looking for specific items. I use it myself mostly when winget tells me a package needs an upgrade, so I can check for version numbers, publisher, and whether or not it comes from the Microsoft Store. You’ll quickly see that it’s a much more focused tool. Try it out with search strings like “ windows,” “ power,” “ powershell,” and so forth. It’s normally used to search for specific packages, or to see if they exist. Winget show doesn’t work unless you provide it with a search string of some kind. It includes all standard executables and Microsoft Store apps in this count. With no qualifiers or queries, winget list shows a list of every item installed on your PC (225 items on my production PC 218 items on one of my Windows 11 Dev Channel test PCs). ![]() The show subcommand searches the online database of available package manifests to show you what information is known about resulting search hits. The list subcommand shows what’s currently installed on the target PC. Winget also supports two information display subcommands. ![]() Ed Tittel/IDGįigure 1: The winget -info command shows Windows Package Manager and OS version, its supporting package ID and version, log file location, and more. Winget tells you about itself if you enter the command:Īs shown in Figure 1, this displays the version of Windows Package Manager that’s running, along with system and OS info, the log file location, and links to various winget information resources. Given that winget is a PowerShell command, it uses straightforward PowerShell syntax to provide information or perform actions. Using winget starts with opening a PowerShell window with administrator permissions: press Windows key + X and then pick PowerShell (Admin) or Terminal (Admin) from the pop-up menu. (Don’t worry: if you do this on a newer Windows version it will inform you, “The App Installer is already installed.”) There, click the Latest link under “Releases” at right, and download an item named “” (the missing characters identify Microsoft Store apps). If you’re running an earlier version of Windows 10, visit the winget home page at GitHub. Please note: winget is included with Windows 10 version 1709 and later and all versions of Windows 11 as the App Installer. In my experience, winget is helpful for checking and updating most applications that run on Windows. Winget is designed to enable “users to discover, install, upgrade, remove and configure applications on Windows 10 and 11 computers,” according to Microsoft Learn. For those not already in the know, winget is the built-in, PowerShell-based interface to Microsoft’s Windows Package Manager service. For a little more than a year, I’ve been working with winget daily to monitor and maintain my Windows 10 and 11 PCs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |