github / github/copilot-cli

pwsh.exe hardcoded in 6 places - CLI completely unusable on Windows 11 with only PowerShell 5.1 (closed #411 is still broken in v0.0.417)

Open
#1,680 8 comments 12 reactions 0 assignees View on GitHub
area:platform-windows area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

Issue #411 was closed as "not_planned" in Oct 2025, but the bug is still present and getting worse — it now blocks the CLI from running **any shell command at all** on Windows machines that ship only with Windows PowerShell 5.1 (`powershell.exe`).

The error on every single command:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.