Commands for installing ClawSharp 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 ClawSharp.ClawSharp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ClawSharp.ClawSharp -e --silentwinget uninstall --id ClawSharp.ClawSharp -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
ClawSharp_0.0.7_windows_x64_setup.exe /SCustom folder
ClawSharp_0.0.7_windows_x64_setup.exe /S /D=C:\Apps\clawsharp- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ClawSharp
- Install folder
- %LocalAppData%\ClawSharp
64-bit · MSI · All users · en-US
Silent install
msiexec /i ClawSharp_0.0.7_windows_x64.msi /qn /norestartWrite a log
msiexec /i ClawSharp_0.0.7_windows_x64.msi /qn /norestart /l*v "%TEMP%\clawsharp-install.log"Uninstall
msiexec /x {65636D93-73F5-4567-98BD-2606926271D4} /qn /norestart- MSI product code
- {65636D93-73F5-4567-98BD-2606926271D4}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{65636D93-73F5-4567-98BD-2606926271D4}
- UpgradeCode
- {7D7FA2E9-4651-5A39-95C3-35EFBBAFF6BE}
- Install folder
- %ProgramFiles%/ClawSharp
- DisplayVersion
- 0.0.7
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-clawsharp.ps1
$url = 'https://github.com/claw-sharp/ClawSharp/releases/download/desktop-v0.0.7/ClawSharp_0.0.7_windows_x64_setup.exe'
$sha256 = '7D3D84B1CD540603195A071AA24DA1ABBB7E8669C22C71CE053620045C80DFF5'
$file = Join-Path $env:TEMP 'ClawSharp_0.0.7_windows_x64_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 install-clawsharp.ps1
$url = 'https://github.com/claw-sharp/ClawSharp/releases/download/desktop-v0.0.7/ClawSharp_0.0.7_windows_x64.msi'
$sha256 = '96E20617BE3E40D721529D36F2B29F0E09345831FC79BB10B650B46F8101C856'
$file = Join-Path $env:TEMP 'ClawSharp_0.0.7_windows_x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait