Commando’s om GitHub Copilot CLI zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id GitHub.Copilot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitHub.Copilot -e --silentwinget uninstall --id GitHub.Copilot -e --silentPer installer
64-bits · MSI
Stille installatie
msiexec /i copilot-x64.msi /qn /norestartLogbestand schrijven
msiexec /i copilot-x64.msi /qn /norestart /l*v "%TEMP%\copilot-cli-install.log"Verwijderen
msiexec /x {7EBED2D8-6911-45F0-9EA8-199D3CB43A98} /qn /norestart- MSI-productcode
- {7EBED2D8-6911-45F0-9EA8-199D3CB43A98}
- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7EBED2D8-6911-45F0-9EA8-199D3CB43A98}
- UpgradeCode
- {E2C3A7F6-1D3A-4E8F-9E5F-8E9D4F9C1234}
- Installatiemap
- %LocalAppData%\GitHubCopilotCLI
64-bits · ZIP
Geen installatie nodig (portable)
ARM64 · MSI
Stille installatie
msiexec /i copilot-arm64.msi /qn /norestartLogbestand schrijven
msiexec /i copilot-arm64.msi /qn /norestart /l*v "%TEMP%\copilot-cli-install.log"Verwijderen
msiexec /x {354B213D-E3C8-4D7E-873E-4C3CA6D72F4B} /qn /norestart- MSI-productcode
- {354B213D-E3C8-4D7E-873E-4C3CA6D72F4B}
- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{354B213D-E3C8-4D7E-873E-4C3CA6D72F4B}
- UpgradeCode
- {E2C3A7F6-1D3A-4E8F-9E5F-8E9D4F9C1234}
- Installatiemap
- %LocalAppData%\GitHubCopilotCLI
ARM64 · ZIP
Geen installatie nodig (portable)
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-copilot-cli.ps1
$url = 'https://github.com/github/copilot-cli/releases/download/v1.0.112/copilot-x64.msi'
$sha256 = 'D823FA45E4123C3B7D577965C8D4751BFD64C50989CA8826DA4D5E64FACB0487'
$file = Join-Path $env:TEMP 'copilot-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-copilot-cli.ps1
$url = 'https://github.com/github/copilot-cli/releases/download/v1.0.112/copilot-arm64.msi'
$sha256 = '212A2109A69F285111F8A07EC9FE87FC421BCC0B6884CFD2441510E0CE607A40'
$file = Join-Path $env:TEMP 'copilot-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