github / github/copilot-cli

Copilot Update Command Is Not Working

未關閉
#2,583 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:installation area:platform-windows
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

running the `copilot update` or from copilot prompt `/update` does not work as it was before 1.0.17

### Affected version

GitHub Copilot CLI 1.0.20.

### Steps to reproduce the behavior

TimeZone: Europe / Prague - CEST

@ 2026-04-08 14:10
PS C:\Users\xyz\> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 14:10
PS C:\Users\xyz\> copilot --version
GitHub Copilot CLI 1.0.20.
Run 'copilot update' to check for updates.

@ 2026-04-08 14:11
PS C:\Users\xyz\> copilot update
Checking for updates...
Error during update: TypeError: terminated

@ 2026-04-08 14:16
PS C:\Users\xyz\> copilot --version
GitHub Copilot CLI 1.0.20.
Run 'copilot update' to check for updates.

@ 2026-04-08 14:25
PS C:\Users\xyz\> copilot update
Checking for updates...
Error during update: TypeError: terminated

@ 2026-04-08 14:26
PS C:\Users\xyz\> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 14:37
PS C:\Users\xyz> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 14:42
PS C:\Users\xyz> copilot update
Checking for updates...
Error during update: Failed to download package: Error: ENOENT: no such file or directory, rename 'C:\Users\xyz\.copilot\pkg\universal\1.0.21' -> 'C:\Users\xyz\.copilot\pkg\universal\.replaced-1.0.21-15472-1775652424919'
Error during update: Failed to download package: Error: ENOENT: no such file or directory, rename 'C:\Users\xyz\.copilot\pkg\universal\1.0.21' -> 'C:\Users\xyz\.copilot\pkg\universal\.replaced-1.0.21-15472-1775652424919'

@ 2026-04-08 14:47
PS C:\Users\xyz> ls C:\Users\xyz\.copilot\pkg\universal\

Directory: C:\Users\xyz\Projects

Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 23.03.2026 23:34 1 1.0.10
d---- 28.03.2026 18:14 1 1.0.11
d---- 01.04.2026 23:17 1 1.0.12
d---- 03.04.2026 12:10 1 1.0.15
d---- 07.04.2026 22:11 1 1.0.17
d---- 08.04.2026 14:09 1 1.0.20
d---- 18.03.2026 11:04 1 1.0.5
d---- 23.03.2026 0:32 1 1.0.9

PS C:\Users\xyz\Projects> winget source list
Name Argument Explicit
------------------------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget https://cdn.winget.microsoft.com/cache false
winget-font https://cdn.winget.microsoft.com/fonts true

@ 2026-04-08 14:59
PS C:\Users\xyz\Projects> winget update GitHub.Copilot
No installed package found matching input criteria.

@ 2026-04-08 15:12
PS C:\Users\xyz\Projects> winget install GitHub.Copilot
Found Copilot CLI [GitHub.Copilot] Version v1.0.20
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.PowerShell [>= 7.0.0]
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "copilot"
Successfully installed

@ 2026-04-08 15:12
PS C:\Users\xyz\Projects> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 15:12
PS C:\Users\xyz\Projects> copilot --version
GitHub Copilot CLI 1.0.20.
Run 'copilot update' to check for updates.

@ 2026-04-08 15:13
PS C:\Users\xyz\Projects> $PSVersionTable

Name Value
---- -----
PSVersion 7.5.5
PSEdition Core
GitCommitId 7.5.5
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

### Expected behavior

When the new version is released, I'm assuming the feeds with updates are reflected within 2hrs

### Additional context

It is impossible to update frequently from winget feeds, as it seems.
I'm going to try manual download and install from github.com.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。