Commands for installing Claude-Usage-Widget without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id SlavomirDurej.claude-usage-widget -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SlavomirDurej.claude-usage-widget -e --silentwinget uninstall --id SlavomirDurej.claude-usage-widget -e --silentBy installer
64-bit · EXE (NSIS) · en-US
Silent install
Claude-Usage-Widget-1.7.7-win-Setup.exe /SCustom folder
Claude-Usage-Widget-1.7.7-win-Setup.exe /S /D=C:\Apps\claude-usage-widgetUninstall
msiexec /x {91BC3C9B-F57C-59FF-B8D7-4B8C8AD0EBFF} /qn /norestart- MSI product code
- {91BC3C9B-F57C-59FF-B8D7-4B8C8AD0EBFF}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{91BC3C9B-F57C-59FF-B8D7-4B8C8AD0EBFF}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-claude-usage-widget.ps1
$url = 'https://github.com/SlavomirDurej/claude-usage-widget/releases/download/v1.7.7/Claude-Usage-Widget-1.7.7-win-Setup.exe'
$sha256 = '3CF7D931B7447EC71914855123576B37B12A9671105770594F494893852C4C3D'
$file = Join-Path $env:TEMP 'Claude-Usage-Widget-1.7.7-win-Setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait