Befehle, um Git Credential Manager (User) 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
winget install --id Git.GCM -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Git.GCM -e --silentwinget uninstall --id Git.GCM -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Aktueller Benutzer
gcmuser-win-x64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-gcmuser-win-x64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\git-credential-manager-user"- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{aa76d31d-432c-42ee-844c-bc0bc801cef3}}_is1
- Installationsordner
- %LocalAppData%\Programs\Git Credential Manager
64-Bit · EXE (Inno Setup) · Alle Benutzer
gcm-win-x64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-gcm-win-x64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\git-credential-manager-user"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fdfae50a-1bc1-4ead-9228-1e1c275e8d12}}_is1
- Installationsordner
- %ProgramFiles%\Git Credential Manager
64-Bit · ZIP
Keine Installation nötig (portabel)
ARM64 · EXE (Inno Setup) · Aktueller Benutzer
gcmuser-win-arm64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-gcmuser-win-arm64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\git-credential-manager-user"- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{aa76d31d-432c-42ee-844c-bc0bc801cef3}}_is1
- Installationsordner
- %LocalAppData%\Programs\Git Credential Manager
ARM64 · EXE (Inno Setup) · Alle Benutzer
gcm-win-arm64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-gcm-win-arm64-3.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\git-credential-manager-user"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fdfae50a-1bc1-4ead-9228-1e1c275e8d12}}_is1
- Installationsordner
- %ProgramFiles%\Git Credential Manager
ARM64 · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://github.com/git-ecosystem/git-credential-manager/releases/download/v3.0.1/gcmuser-win-x64-3.0.1.exe'
$sha256 = '723F9E13C360D56F9B0DFDB0609B4EDD8A28C0B33ECCB4DE900039EA56B3517A'
$file = Join-Path $env:TEMP 'gcmuser-win-x64-3.0.1.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 $url = 'https://github.com/git-ecosystem/git-credential-manager/releases/download/v3.0.1/gcm-win-x64-3.0.1.exe'
$sha256 = 'B2DC87F5DEB70DD605ECA646E987EC9841CD7BE74453C6E3066AC50BB3D3C98B'
$file = Join-Path $env:TEMP 'gcm-win-x64-3.0.1.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 $url = 'https://github.com/git-ecosystem/git-credential-manager/releases/download/v3.0.1/gcmuser-win-arm64-3.0.1.exe'
$sha256 = '9BADD7B738C6687BC01E5DF2D5B637A709AFEFAE99D8C792A52843624197225D'
$file = Join-Path $env:TEMP 'gcmuser-win-arm64-3.0.1.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 $url = 'https://github.com/git-ecosystem/git-credential-manager/releases/download/v3.0.1/gcm-win-arm64-3.0.1.exe'
$sha256 = '704E5EA8BC5AF3DF2E3CF6228893B39673843A6BE8C30B4F6FC57C3D817C871E'
$file = Join-Path $env:TEMP 'gcm-win-arm64-3.0.1.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