Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.81 ·

Shell Type for Hooks

Entry
JSON All of v2.1.81
EntryKind: in v2.1.81,
ChangesSection of the release
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 →

Feedback