Befehle, um GLab ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id GLab.GLab -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GLab.GLab -e --silentwinget uninstall --id GLab.GLab -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Aktueller Benutzer
Stille Installation
glab_1.124.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
glab_1.124.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\glab"- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{679C50AE-F48A-46D1-9493-77F095E9884D}_is1
- Installationsordner
- %LocalAppData%\Programs\glab
64-Bit · EXE (Inno Setup) · Alle Benutzer
Stille Installation
glab_1.124.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
glab_1.124.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\glab"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{679C50AE-F48A-46D1-9493-77F095E9884D}_is1
- Installationsordner
- %ProgramFiles%\glab
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-glab.ps1
$url = 'https://gitlab.com/gitlab-org/cli/-/releases/v1.124.0/downloads/glab_1.124.0_Windows_x86_64_installer.exe'
$sha256 = '1606E45FACDB3E409CB365853AC6D30693FCEBDA31CB69EA77733EA1FF320C4E'
$file = Join-Path $env:TEMP 'glab_1.124.0_Windows_x86_64_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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-glab.ps1
$url = 'https://gitlab.com/gitlab-org/cli/-/releases/v1.124.0/downloads/glab_1.124.0_Windows_x86_64_installer.exe'
$sha256 = '1606E45FACDB3E409CB365853AC6D30693FCEBDA31CB69EA77733EA1FF320C4E'
$file = Join-Path $env:TEMP 'glab_1.124.0_Windows_x86_64_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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait