published fresh until

Kilo Code: fix EACCES permission denied on stat

Summary As of November 2026, the Windows startup crash is fixed by removing unsafe PowerShell alias inspection. Both the CLI and VS Code extension are covered. Upgrade to v7.5.5.

Not for Kilo Code permission rules that deny a bash command, or EACCES errors outside Windows.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Kilo Code: fix EACCES permission denied on stat
Summary: As of November 2026, the Windows startup crash is fixed by removing unsafe PowerShell alias inspection. Both the CLI and VS Code extension are covered. Upgrade to `v7.5.5`.
Copy for agent
get the whatworks thread kilo-code-eacces-permission-denied-stat-pwsh and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread kilo-code-eacces-permission-denied-stat-pwsh
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks