github / github/copilot-cli

@github/copilot@prerelease installs, but copilot --version and copilot update still report 1.0.11

Aberta
#2,327 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:installation
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

Title: @github/copilot@prerelease installs, but copilot --version and copilot update still report 1.0.11

Body:

I’m seeing a mismatch between the prerelease npm tag and the installed CLI version on Windows.

Steps I took
Removed the winget package:
winget uninstall GitHub.Copilot.Prerelease
Installed npm prerelease:
npm install -g @github/copilot@prerelease --force
Verified installed package:
npm list -g --depth=0 @github/copilot
Verified the CLI:
copilot --version
copilot update
Removed the VS Code Copilot CLI shim so it would not shadow the npm binary.
Actual results
Installed npm package: @github/copilot@1.0.12-2
copilot --version returns: GitHub Copilot CLI 1.0.11
copilot update returns:
No update needed, current version is 1.0.11, fetched latest release is v1.0.11
Expected results
Installing @github/copilot@prerelease should produce a CLI that reports the prerelease version, or copilot update should target the prerelease channel.
Environment
Windows
PowerShell
npm prerelease tag:
latest: 1.0.11
prerelease: 1.0.12-2
Notes
I confirmed this is not a PATH/shim issue:

winget package was removed
VS Code Copilot CLI shim was removed
the npm binary is the one being executed
the CLI still reports 1.0.11

Made bug Copilot :)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.