github / github/copilot-cli

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

Offen
#2,327 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:installation
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.