Comandos para instalar Command Code sin preguntas, desinstalarlo y detectarlo desde herramientas de despliegue. Solo se muestra un comando cuando es seguro: el que indica el manifiesto o el valor predeterminado documentado de la tecnología del instalador.
Guía relacionada: Instalación silenciosa: parámetros MSI, NSIS, Inno · Desinstalar un programa desde el registro o PowerShell
Con 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 --silentPor instalador
64 bits · EXE (NSIS) · Usuario actual
Instalación silenciosa
CommandCode-0.1.58-x64-setup.exe /SOtra carpeta
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Clave de desinstalación en el registro
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Carpeta de instalación
- %LocalAppData%\Programs\Command Code
64 bits · EXE (NSIS) · Todos los usuarios
Instalación silenciosa
CommandCode-0.1.58-x64-setup.exe /SOtra carpeta
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Clave de desinstalación en el registro
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Carpeta de instalación
- %ProgramFiles%\Command Code
PowerShell: descargar, verificar, instalar
Descarga el archivo oficial, comprueba su SHA256 y lo instala en modo silencioso.
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