github / github/copilot-cli

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

Abierto
#2,327 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:installation
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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 :)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.