brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: winget show prints a package's details before you install it

Winget
~/tips/tip-winget-show-package

winget show --id Git.Git

Read a package's publisher, licence and versions before installing it.

I like to know a bit about a program before it lands on my PC. winget has a command for that.

Look a package up by its ID:

winget show --id Git.Git
winget show --id Git.Git --versions

The first command prints the publisher, the version, the licence, the homepage and the installer type and download address. The second lists every version winget can install, which is useful when you need an older one with winget install --version.

If you do not know the ID yet, winget search git lists candidates with their IDs and sources.

A caveat: the details come from the package manifest in the source, so they are only as correct as that manifest. For anything sensitive, still compare the publisher name with the vendor’s own site.

One more detail: winget show also prints a tags line and a release notes link for many packages. That is often the quickest way to find out what changed in a new version before you run an upgrade.

Further reading: winget show command

More Winget tips winget upgrade All Winget tips (2) All topics

Link