Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.81 Home All releases olderv2.1.80 v2.1.83newer
Claude Code v2.1.81

Shell Type for Hooks

What

Hook frontmatter now accepts a shell field to specify the shell interpreter, supporting 'bash' or 'powershell'.

Details
  • Description: "Shell interpreter. 'bash' uses your $SHELL (bash/zsh/sh); 'powershell' uses pwsh. Defaults to bash."
  • Invalid shell values log a warning and fall back to bash
  • PowerShell hooks are not available in all builds of Claude Code — if unavailable, a warning is logged
Evidence

Shell hook support (search for "shell must be 'bash' or 'powershell'" and "Shell interpreter.")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.81 →