Komandos programai Command Code įdiegti be klausimų, pašalinti ir aptikti diegimo įrankiuose. Komanda rodoma tik tada, kai ji patikima: iš manifesto arba iš dokumentuotų diegimo technologijos numatytųjų parametrų.
Susijusi instrukcija: Tyliojo diegimo parametrai: MSI, NSIS, Inno Setup · Programos šalinimas per registrą ar PowerShell
Su 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 --silentPagal diegimo failus
64 bitų · EXE (NSIS) · Dabartinis naudotojas
Tylusis diegimas
CommandCode-0.1.58-x64-setup.exe /SKitas aplankas
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Šalinimo raktas registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Diegimo aplankas
- %LocalAppData%\Programs\Command Code
64 bitų · EXE (NSIS) · Visi naudotojai
Tylusis diegimas
CommandCode-0.1.58-x64-setup.exe /SKitas aplankas
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Šalinimo raktas registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Diegimo aplankas
- %ProgramFiles%\Command Code
PowerShell: atsisiųsti, patikrinti, įdiegti
Atsisiunčia oficialų failą, patikrina SHA256 ir tyliai jį įdiegia.
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