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โ€‹

{
"type": "winget",
"style": "powerline",
"powerline_symbol": "๎‚ฐ",
"foreground": "#ffffff",
"background": "#0077c2",
"template": " ๏‰ {{ .UpdateCount }} ",
"cache": {
"duration": "24h",
"strategy": "device"
}
}

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