Skip to main content

WinGet

What​

Displays the number of available WinGet package updates. This segment only appears when there are updates available.

info

This segment is only available on Windows.

Sample Configuration​

− ▢ ×  2 _ ohmyposh.dev − ▢ ×  2 _ ohmyposh.dev

Template (info)​

default template
\uf409 {{ .UpdateCount }}

Properties​

NameTypeDescription
.UpdateCountintthe number of packages with available updates
.Updates[]WinGetPackagearray of packages with available updates

WinGetPackage​

NameTypeDescription
.Namestringthe package name
.IDstringthe package ID
.Currentstringthe currently installed version
.Availablestringthe available version for update