Perintah untuk menginstal Command Code tanpa dialog, menghapusnya kembali, dan mendeteksinya dari alat deployment. Perintah hanya ditampilkan jika pasti benar: berasal dari manifest atau dari parameter bawaan yang terdokumentasi untuk teknologi installer tersebut.
Panduan terkait: Parameter instalasi senyap: MSI, NSIS, Inno Setup · Uninstall program lewat registry atau PowerShell
Dengan winget
PowerShell
winget install --id CommandCode.CommandCodeDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CommandCode.CommandCodeDesktop -e --silentwinget uninstall --id CommandCode.CommandCodeDesktop -e --silentPer installer
64-bit · EXE (NSIS) · Pengguna saat ini
Instalasi senyap
CommandCode-0.1.58-x64-setup.exe /SFolder kustom
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Kunci registry uninstall
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Folder instalasi
- %LocalAppData%\Programs\Command Code
64-bit · EXE (NSIS) · Semua pengguna
Instalasi senyap
CommandCode-0.1.58-x64-setup.exe /SFolder kustom
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Kunci registry uninstall
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Folder instalasi
- %ProgramFiles%\Command Code
PowerShell: unduh, verifikasi, instal
Mengunduh file resmi, memeriksa SHA256-nya, lalu menginstalnya secara senyap.
install-command-code.ps1
$url = 'https://github.com/CommandCodeAI/desktop/releases/latest/download/CommandCode-0.1.58-x64-setup.exe'
$sha256 = 'A91676207FD01F37E26F66D13E0B51A3FC45DC57719177889C7D11208565D49C'
$file = Join-Path $env:TEMP 'CommandCode-0.1.58-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-command-code.ps1
$url = 'https://github.com/CommandCodeAI/desktop/releases/latest/download/CommandCode-0.1.58-x64-setup.exe'
$sha256 = 'A91676207FD01F37E26F66D13E0B51A3FC45DC57719177889C7D11208565D49C'
$file = Join-Path $env:TEMP 'CommandCode-0.1.58-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