GitHub Copilot CLI proqramını sual vermədən quraşdırmaq, silmək və yayma alətlərində aşkarlamaq üçün əmrlər. Əmr yalnız dəqiq olduqda göstərilir: manifestdəki açar və ya quraşdırma texnologiyasının sənədləşdirilmiş standart açarı.
Əlaqəli təlimat: Səssiz quraşdırma açarları: MSI, NSIS, Inno Setup · Proqramı reyestr və ya PowerShell ilə necə silmək olar
winget ilə
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 --silentQuraşdırma faylına görə
64 bit · MSI
Səssiz quraşdırma
msiexec /i copilot-x64.msi /qn /norestartJurnal faylı yaz
msiexec /i copilot-x64.msi /qn /norestart /l*v "%TEMP%\copilot-cli-install.log"Silmə
msiexec /x {8A612FE7-E80F-4618-A74B-296E1CE229AB} /qn /norestart- MSI məhsul kodu
- {8A612FE7-E80F-4618-A74B-296E1CE229AB}
- Silmə üçün reyestr açarı
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A612FE7-E80F-4618-A74B-296E1CE229AB}
- UpgradeCode
- {E2C3A7F6-1D3A-4E8F-9E5F-8E9D4F9C1234}
- Quraşdırma qovluğu
- %LocalAppData%\GitHubCopilotCLI
64 bit · ZIP
Quraşdırma tələb etmir (portativ)
ARM64 · MSI
Səssiz quraşdırma
msiexec /i copilot-arm64.msi /qn /norestartJurnal faylı yaz
msiexec /i copilot-arm64.msi /qn /norestart /l*v "%TEMP%\copilot-cli-install.log"Silmə
msiexec /x {14B7EF22-84DB-4CF7-9E03-3BBC923E3F61} /qn /norestart- MSI məhsul kodu
- {14B7EF22-84DB-4CF7-9E03-3BBC923E3F61}
- Silmə üçün reyestr açarı
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{14B7EF22-84DB-4CF7-9E03-3BBC923E3F61}
- UpgradeCode
- {E2C3A7F6-1D3A-4E8F-9E5F-8E9D4F9C1234}
- Quraşdırma qovluğu
- %LocalAppData%\GitHubCopilotCLI
ARM64 · ZIP
Quraşdırma tələb etmir (portativ)
PowerShell: yüklə, yoxla, quraşdır
Rəsmi faylı yükləyir, SHA256 heşini yoxlayır və səssiz quraşdırır.
install-copilot-cli.ps1
$url = 'https://github.com/github/copilot-cli/releases/download/v1.0.105/copilot-x64.msi'
$sha256 = '6CC325520DE264D7AF8BA28BEE7F079E3BB923922A0543526601F9ED1A359438'
$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.105/copilot-arm64.msi'
$sha256 = '12EDA6D05A87706AD622EB2AF7CE38F8CD134D25B461E836FAF7A3EE93821F29'
$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