Commands for installing CodeBuddy 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 Tencent.CodeBuddy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tencent.CodeBuddy -e --silentwinget uninstall --id Tencent.CodeBuddy -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user
Silent install
CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codebuddy"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CC6B787D-37A0-49E8-AE24-8559A032BE0C}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-codebuddy.ps1
$url = 'https://download.codebuddy.ai/aiide/win32-x64-user/CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe'
$sha256 = '3FB09B0C6AEF06E42B38C63571DD6118D6301CBCD075568C9620C7597E43D911'
$file = Join-Path $env:TEMP 'CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait