Kommandon för att installera Claude-Usage-Widget utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE (NSIS) · en-US
Tyst installation
Claude-Usage-Widget-1.7.7-win-Setup.exe /SEgen mapp
Claude-Usage-Widget-1.7.7-win-Setup.exe /S /D=C:\Apps\claude-usage-widgetAvinstallation
msiexec /x {91BC3C9B-F57C-59FF-B8D7-4B8C8AD0EBFF} /qn /norestart- MSI-produktkod
- {91BC3C9B-F57C-59FF-B8D7-4B8C8AD0EBFF}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{91BC3C9B-F57C-59FF-B8D7-4B8C8AD0EBFF}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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