Commando’s om Coder zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id Coder.Coder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Coder.Coder -e --silentwinget uninstall --id Coder.Coder -e --silentPer installer
64-bits · EXE (NSIS) · Alle gebruikers
Stille installatie
coder_2.39.1_windows_amd64_installer.exe /SAndere map
coder_2.39.1_windows_amd64_installer.exe /S /D=C:\Apps\coder- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Coder
64-bits · ZIP
Geen installatie nodig (portable)
ARM64 · ZIP
Geen installatie nodig (portable)
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-coder.ps1
$url = 'https://github.com/coder/coder/releases/download/v2.39.1/coder_2.39.1_windows_amd64_installer.exe'
$sha256 = '9AE2BCDE2D4B39CE690768591C6C38C19580002A99F88048C81552968A0045A5'
$file = Join-Path $env:TEMP 'coder_2.39.1_windows_amd64_installer.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