Opdragte om Cortex Code sonder vrae te installeer, weer te verwyder en vanuit ontplooiingsgereedskap op te spoor. ’n Opdrag word net gewys as dit seker is: uit die manifes of die gedokumenteerde verstek van die installeertegnologie.
Verwante gids: Skakelaars vir stil installasie: MSI, NSIS, Inno Setup · Deïnstalleer ’n program via die register of PowerShell
Met winget
PowerShell
winget install --id Snowflake.CortexCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Snowflake.CortexCode -e --silentwinget uninstall --id Snowflake.CortexCode -e --silentVolgens installeerder
64-bis · EXE (Inno Setup) · Huidige gebruiker · en-US
Stil installasie
Cortex-Code-win32-x64-user-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eie lêergids
Cortex-Code-win32-x64-user-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cortex-code"- Deïnstalleer-registersleutel
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{77966DA7-3314-49B4-B147-4B20E8FA4EB7}_is1
- Installeerlêergids
- %LocalAppData%\Programs\Cortex Code
- DisplayVersion
- 1.21.8
ARM64 · EXE (Inno Setup) · Huidige gebruiker · en-US
Stil installasie
Cortex-Code-win32-arm64-user-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eie lêergids
Cortex-Code-win32-arm64-user-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cortex-code"- Deïnstalleer-registersleutel
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33B3E169-CBDA-4D8D-B14B-99215663BC93}_is1
- Installeerlêergids
- %LocalAppData%\Programs\Cortex Code
- DisplayVersion
- 1.21.8
PowerShell: aflaai, nagaan, installeer
Laai die amptelike lêer af, gaan die SHA256 na en installeer dit stil.
install-cortex-code.ps1
$url = 'https://sfc-repo.snowflakecomputing.com/coco-desktop/downloads/1.21.8/Cortex-Code-win32-x64-user-setup.exe'
$sha256 = 'E4C0917145ED55F443D8C908A2A9D6DF41E34BCAF08880A18E2A0F4012AE2FC0'
$file = Join-Path $env:TEMP 'Cortex-Code-win32-x64-user-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-cortex-code.ps1
$url = 'https://sfc-repo.snowflakecomputing.com/coco-desktop/downloads/1.21.8/Cortex-Code-win32-arm64-user-setup.exe'
$sha256 = '6A67BA12A6E6CEB3466AC3B21D8393C247CDD6CC93AA7F5E0D5048DA675CAAF1'
$file = Join-Path $env:TEMP 'Cortex-Code-win32-arm64-user-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait