github / github/copilot-cli

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

Ouverte
#2,327 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:installation
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.