Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

A hint explains hooks that fail with exit code 127

When a hook exits with code 127, Claude Code says a program it needs was probably not found and points you to /hooks

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

Hooks are commands you set up to run at set moments, such as before Claude uses a tool. When a program finishes, it returns a number called an exit code. When a hook returns 127, Claude Code now shows:

"Exit 127 usually means a program this hook needs wasn't found, so its check may not have run. Check the hook's command in /hooks."

Why

A hook that cannot find its program can fail without anyone noticing, so a check you rely on may not run. The message tells you what probably went wrong and where to fix it.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeImproved key hints in many dialogs and the ? lists: they show the keys that work, in one order and wording, and fit narrow windows; deeper…

See this entry in the whole of v2.1.326 →

Feedback