Opdragte om GitHub Copilot CLI sonder vrae te installeer, weer te verwyder en vanuit ontplooiingsgereedskap op te spoor. ’n Opdrag word net gewys as dit seker is: uit die manifes of die gedokumenteerde verstek van die installeertegnologie.
Verwante gids: Skakelaars vir stil installasie: MSI, NSIS, Inno Setup · Deïnstalleer ’n program via die 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 --silentVolgens installeerder
64-bis · MSI
Stil installasie
msiexec /i copilot-x64.msi /qn /norestartSkryf ’n log
msiexec /i copilot-x64.msi /qn /norestart /l*v "%TEMP%\copilot-cli-install.log"Deïnstalleer
msiexec /x {BB192D36-D981-420E-9850-D238D78C929E} /qn /norestart- MSI-produkkode
- {BB192D36-D981-420E-9850-D238D78C929E}
- Deïnstalleer-registersleutel
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BB192D36-D981-420E-9850-D238D78C929E}
- UpgradeCode
- {E2C3A7F6-1D3A-4E8F-9E5F-8E9D4F9C1234}
- Installeerlêergids
- %LocalAppData%\GitHubCopilotCLI
64-bis · ZIP
Geen installasie nodig nie (draagbaar)
ARM64 · MSI
Stil installasie
msiexec /i copilot-arm64.msi /qn /norestartSkryf ’n log
msiexec /i copilot-arm64.msi /qn /norestart /l*v "%TEMP%\copilot-cli-install.log"Deïnstalleer
msiexec /x {6F793F92-3238-4D45-939E-0022161AC4FD} /qn /norestart- MSI-produkkode
- {6F793F92-3238-4D45-939E-0022161AC4FD}
- Deïnstalleer-registersleutel
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6F793F92-3238-4D45-939E-0022161AC4FD}
- UpgradeCode
- {E2C3A7F6-1D3A-4E8F-9E5F-8E9D4F9C1234}
- Installeerlêergids
- %LocalAppData%\GitHubCopilotCLI
ARM64 · ZIP
Geen installasie nodig nie (draagbaar)
PowerShell: aflaai, nagaan, installeer
Laai die amptelike lêer af, gaan die SHA256 na en installeer dit stil.
install-copilot-cli.ps1
$url = 'https://github.com/github/copilot-cli/releases/download/v1.0.118/copilot-x64.msi'
$sha256 = '49ABF569FAFAA10660B0DED26A6D3CF9C2CFAC994CBD40C7E3A18CA61213CA14'
$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.118/copilot-arm64.msi'
$sha256 = 'F45F16B8428C0804E4E6B2679C112C0B121EF3E0AC237D68AA7A88F0BC8CD5EB'
$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