أوامر لتثبيت برنامج Git Credential Manager (User) دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Git.GCM -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Git.GCM -e --silentwinget uninstall --id Git.GCM -e --silentحسب المثبّت
64 بت · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
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"- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{aa76d31d-432c-42ee-844c-bc0bc801cef3}}_is1
- مجلد التثبيت
- %LocalAppData%\Programs\Git Credential Manager
64 بت · EXE (Inno Setup) · جميع المستخدمين
التثبيت الصامت
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"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fdfae50a-1bc1-4ead-9228-1e1c275e8d12}}_is1
- مجلد التثبيت
- %ProgramFiles%\Git Credential Manager
64 بت · ZIP
لا يحتاج إلى تثبيت (نسخة محمولة)
ARM64 · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
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"- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{aa76d31d-432c-42ee-844c-bc0bc801cef3}}_is1
- مجلد التثبيت
- %LocalAppData%\Programs\Git Credential Manager
ARM64 · EXE (Inno Setup) · جميع المستخدمين
التثبيت الصامت
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"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fdfae50a-1bc1-4ead-9228-1e1c275e8d12}}_is1
- مجلد التثبيت
- %ProgramFiles%\Git Credential Manager
ARM64 · ZIP
لا يحتاج إلى تثبيت (نسخة محمولة)
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-git-credential-manager-user.ps1
$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 install-git-credential-manager-user.ps1
$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 install-git-credential-manager-user.ps1
$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 install-git-credential-manager-user.ps1
$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