github / github/copilot-cli

Copilot CLI (newer versions) does not run on Windows 11 – exits immediately

Đang mở
#1,164 12 bình luận 5 reaction 0 người được giao Xem trên GitHub
area:installation area:networking area:platform-windows
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the bug

I’m unable to run newer versions of GitHub Copilot CLI on Windows. The CLI installs successfully, but running any `copilot` command results in no output and immediate exit.

* Newer Copilot CLI versions 0.0.368 exit immediately with **no output and no error**
* Only version **0.0.367** works on this machine

Question

Are there any additional diagnostics/logging I can enable to help identify why newer versions exit silently?

Thanks in advance for any guidance.

### Affected version

0.0.368 and any newer version

### Steps to reproduce the behavior

1. Installed Copilot CLI using:

```powershell
winget install GitHub.Copilot
```
2. Restarted PowerShell.
3. Tried running:

```powershell
copilot --version
copilot --banner
copilot
```

→ **No output at all**
Image

4. Tried launching `copilot.exe` directly:
* PowerShell window opens briefly and closes immediately.

5. Downloaded and tested **copilot.exe v0.0.367**:
* This version works correctly.

Image


6. Troubleshooting already attempted:
* Cleared npm cache
* Allowed Copilot CLI through firewall (public + private)
* Verified Node, npm, and PowerShell versions
* Reinstalled Copilot CLI multiple times

### Expected behavior

`copilot` commands should run normally and display output (version, banner, interactive prompt, etc.).

### Additional context

**OS**: Windows 11
**Node.js**: 24.13.0
**npm**: 11.6.2
**PowerShell**: 7
**Subscription**: Copilot Pro

I don't have any logs because it exited immediately with no output and no logs generated.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.