spawn ENOENT / command not found

A shell or tool binary was not on PATH when Claude Code tried to run it.

506 issues · 58 open · 448 resolved (89%) · first seen Feb 24, 2025

First response · integration

What to do now

Most likely: A local integration or child process did not satisfy Claude Code’s expected contract.

  1. Isolate the failing MCP server, shell command or editor integration.
  2. Run that dependency directly and capture its exit code and stderr.
  3. Compare with a clean configuration before editing global settings.

These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.

Is this getting better or worse?

This class of problem is converging. 92 new reports in the last 90 days vs 154 in the 90 before — -40%. The open backlog peaked at 58 in 2026-08 and sits at 58 today.

0 15 29 44 58 2025-022025-082026-022026-08
2025-02 — First reports2026-02 — Most new reports (87)2026-08 — Peak backlog (58 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

254 of these reports name the Claude Code build they were running, spanning 122 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 4 days across 448 closures. Of the 448 closures with a recorded reason, 23% were closed as completed and 344 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

217 of these issues post a workaround someone says worked. The highest-engagement ones:

[FEATURE] .NET 9 or 10 SDK support in Claude Code for web runtime environment
…environment Share a roadmap for future SDK version updates Workaround: Currently, users need to either downgrade their projects to .NET 8 or build locally/in CI/CD pipelines. Thank you! Proposed Solution install .Net la…
Found in the description of #11627 · resolved
Shell Function Inheritance Issue - Zoxide and Dynamic Functions Fail in Bash Tool
…n Code When runs, it generates shell functions like: Failed Workarounds Attempted 1. Manual function definition : Functions defined but not accessible 2. Re-sourcing ~/.zshrc : No effect in Claude Code context 3. Direct…
Found in the description of #2407 · resolved
SSH remote connection fails on Windows — hardcoded /usr/bin/ssh path
I've tried these commands as a workaround but got another error:
Found in the thread of #25659 · resolved
[BUG] Native Windows(Powershell) install of Claude Code is not viable
Ran into this same issue tonight. Found workarounds that might help others: The binary does exist It's bundled inside the VS Code extension: Workaround Open a new PowerShell window and should work. Note: When the VS Code…
Found in the thread of #14902 · resolved
Bug: claude command not found after npm install -g on macOS with Homebrew due to incorrect symlink
…JavaScript file instead of the executable launcher script. Workaround The issue can be resolved by manually replacing the incorrect symbolic link with the correct one. 1. Remove the incorrect link: 1 rm /opt/homebrew/bi…
Found in the description of #3172 · still open

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 1–100

Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 506 matches; the statistics above cover all 506.

Related aggregations

  1. Garbled / flickering terminal output

    829 issues
  2. MCP server failed to start or connect

    229 issues
  3. API Error 400 (invalid_request_error)

    2,591 issues
  4. AbortError: the operation was aborted

    2,101 issues
  5. ENOENT: no such file or directory

    1,200 issues
  6. API Error 500 (internal server error)

    603 issues