Команды, чтобы установить программу GitHub Copilot без вопросов, удалить её и обнаружить в системах развёртывания. Команда показана, только если она известна точно: из манифеста или из документированных параметров технологии установщика.
Инструкция по теме: Ключи тихой установки: MSI, NSIS, Inno Setup · Удаление программы через реестр и 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 {72EF7F9D-5721-4CDF-8098-2A609DDF9806} /qn /norestart- Код продукта MSI
- {72EF7F9D-5721-4CDF-8098-2A609DDF9806}
- Раздел удаления в реестре
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{72EF7F9D-5721-4CDF-8098-2A609DDF9806}
- 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 {D1349EE3-0373-442D-AB90-25155774B02C} /qn /norestart- Код продукта MSI
- {D1349EE3-0373-442D-AB90-25155774B02C}
- Раздел удаления в реестре
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D1349EE3-0373-442D-AB90-25155774B02C}
- UpgradeCode
- {91C1652C-D75F-5DE7-92AE-9BB88EB110EE}
- Папка установки
- %ProgramFiles%\GitHub Copilot
PowerShell: скачать, проверить, установить
Скачивает официальный файл, проверяет SHA256 и устанавливает программу в тихом режиме.
install-github-copilot.ps1
$url = 'https://github.com/github/app/releases/download/v1.4.3/GitHub-Copilot-windows-x64-setup.exe'
$sha256 = '5617CA68CFB2C2C6815B1584AD496B9956B13DEA8584DB2694E2BFBFDB17606A'
$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.4.3/GitHub-Copilot-windows-x64.msi'
$sha256 = '3769151D739F00FF95892B2EFCB0887CC0BE047AC414B9EC56AC09A6933551AB'
$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.4.3/GitHub-Copilot-windows-arm64-setup.exe'
$sha256 = '0F58F6CCD8B8F7B81C4BDF30D522409F0E3AEF2E4625F28774FEE55452E125A8'
$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.4.3/GitHub-Copilot-windows-arm64.msi'
$sha256 = 'FA3296ED7A28221553905503747CEF12DA8EFD911D75DB1EBC759FB62417A3AF'
$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