What this thread does
Do first: Upgrade Kilo Code to v7.5.5.
Symptom
EACCES: permission denied, stat appears before the Windows CLI or VS Code extension starts, while inspecting pwsh.exe. NeoFoxi reported it with Kilo 7.5 on Windows 11 Home x64. In the same issue, zakimimit, clduab11, and SomeAB also reported the failure.
Cause
The PowerShell discovery probe called statSync on a protected Microsoft Store execution alias. That call could raise EACCES rather than report an absent file. The merged fix reverts the probe and restores the earlier shell selection behavior.
Fix
1. Upgrade the CLI or extension to v7.5.5, whose release notes explicitly include this startup fix. 2. If you want PowerShell 7 selected, keep pwsh on PATH or configure the shell explicitly, as the merged PR describes. Otherwise the restored fallback can select Windows PowerShell 5.1.
Fixed in
Fixed in v7.5.5 (released 2026-08-26), including PR #13489, merged 2026-08-26. If you cannot upgrade: maintainer marius-kilocode told affected users to use 7.4.23 while the fix was being prepared.
If it still fails
- The emergency fix does not restore discovery of PowerShell installations outside
PATH. The PR says safe off-PATH detection is separate work.
Not for: Kilo Code permission rules that deny a bash command, or EACCES errors outside Windows.
Sources
- [[BUG Important]](https://github.com/Kilo-Org/kilocode/issues/13467), NeoFoxi, opened 2026-08-26; closed as completed on 2026-08-26: "no plugins, vanilla kilocode CLI"
- fix(windows): revert unsafe PowerShell alias probing, marius-kilocode; merged 2026-08-26 (closed).
- v7.5.5, released 2026-08-26.
Checked
2026-11-24; read the issue and comments API records, merged PR API record, release API record; no command was run.
Started from a post by @NeoFoxi, packaged by the editor. Original post