أوامر لتثبيت برنامج GitHub Copilot دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id GitHub.CopilotApp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitHub.CopilotApp -e --silentwinget uninstall --id GitHub.CopilotApp -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
GitHub-Copilot-windows-x64-setup.exe /Sمجلد مخصص
GitHub-Copilot-windows-x64-setup.exe /S /D=C:\Apps\github-copilot- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GitHub Copilot
- مجلد التثبيت
- %LocalAppData%\Programs\GitHub Copilot
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i GitHub-Copilot-windows-x64.msi /qn /norestartكتابة ملف سجل
msiexec /i GitHub-Copilot-windows-x64.msi /qn /norestart /l*v "%TEMP%\github-copilot-install.log"إلغاء التثبيت
msiexec /x {1EBC697C-4D80-44E2-A4C0-D33132C06563} /qn /norestart- رمز منتج MSI
- {1EBC697C-4D80-44E2-A4C0-D33132C06563}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1EBC697C-4D80-44E2-A4C0-D33132C06563}
- UpgradeCode
- {91C1652C-D75F-5DE7-92AE-9BB88EB110EE}
- مجلد التثبيت
- %ProgramFiles%\GitHub Copilot
ARM64 · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
GitHub-Copilot-windows-arm64-setup.exe /Sمجلد مخصص
GitHub-Copilot-windows-arm64-setup.exe /S /D=C:\Apps\github-copilot- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GitHub Copilot
- مجلد التثبيت
- %LocalAppData%\Programs\GitHub Copilot
ARM64 · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i GitHub-Copilot-windows-arm64.msi /qn /norestartكتابة ملف سجل
msiexec /i GitHub-Copilot-windows-arm64.msi /qn /norestart /l*v "%TEMP%\github-copilot-install.log"إلغاء التثبيت
msiexec /x {3EA95768-6BC7-4A9B-965E-E915BBA2421F} /qn /norestart- رمز منتج MSI
- {3EA95768-6BC7-4A9B-965E-E915BBA2421F}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3EA95768-6BC7-4A9B-965E-E915BBA2421F}
- UpgradeCode
- {91C1652C-D75F-5DE7-92AE-9BB88EB110EE}
- مجلد التثبيت
- %ProgramFiles%\GitHub Copilot
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-github-copilot.ps1
$url = 'https://github.com/github/app/releases/download/v1.1.32/GitHub-Copilot-windows-x64-setup.exe'
$sha256 = 'C66CBA08CEA40ABD878CEACEF65A320FD53C39FEBC65ECEDCD0B9200AFA20C54'
$file = Join-Path $env:TEMP 'GitHub-Copilot-windows-x64-setup.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 install-github-copilot.ps1
$url = 'https://github.com/github/app/releases/download/v1.1.32/GitHub-Copilot-windows-x64.msi'
$sha256 = 'F31A3CEBD3F23AC77BB731A6DE93CB14DBB06933B486F8AFA5CF11258242937B'
$file = Join-Path $env:TEMP 'GitHub-Copilot-windows-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-github-copilot.ps1
$url = 'https://github.com/github/app/releases/download/v1.1.32/GitHub-Copilot-windows-arm64-setup.exe'
$sha256 = '5A203EDF5AA2591E793E5E262301637AE313071BBE01E48F6B510E729EC6DF42'
$file = Join-Path $env:TEMP 'GitHub-Copilot-windows-arm64-setup.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 install-github-copilot.ps1
$url = 'https://github.com/github/app/releases/download/v1.1.32/GitHub-Copilot-windows-arm64.msi'
$sha256 = 'A58D05D729D8E218D09175F87A8E30B55CCC0011906278F7E8602650C68F87F9'
$file = Join-Path $env:TEMP 'GitHub-Copilot-windows-arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait