Polecenia do instalacji programu Coder bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
winget install --id Coder.Coder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Coder.Coder -e --silentwinget uninstall --id Coder.Coder -e --silentWedług instalatora
64-bit · EXE (NSIS) · Wszyscy użytkownicy
coder_2.38.3_windows_amd64_installer.exe /Scoder_2.38.3_windows_amd64_installer.exe /S /D=C:\Apps\coder- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Coder
64-bit · ZIP
Bez instalacji (wersja przenośna)
ARM64 · ZIP
Bez instalacji (wersja przenośna)
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
$url = 'https://github.com/coder/coder/releases/download/v2.38.3/coder_2.38.3_windows_amd64_installer.exe'
$sha256 = '406D52E194F15017ED455C2E354045AC95AC8EE525AABF82F76F986578DFF6F1'
$file = Join-Path $env:TEMP 'coder_2.38.3_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