{"version":"2.1.81","anchor":"shell-type-for-hooks","canonical_anchor":"shell-type-for-hooks","heading":"Shell Type for Hooks","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.81\/e\/shell-type-for-hooks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.81","markdown":"### Shell Type for Hooks\n\n**What**\n\nHook frontmatter now accepts a `shell` field to specify the shell interpreter, supporting `'bash'` or `'powershell'`.\n\n**Details**\n\n- Description: \"Shell interpreter. 'bash' uses your $SHELL (bash\/zsh\/sh); 'powershell' uses pwsh. Defaults to bash.\"\n- Invalid shell values log a warning and fall back to bash\n- PowerShell hooks are not available in all builds of Claude Code \u2014 if unavailable, a warning is logged\n\n**Evidence**\n\nShell hook support (search for `\"shell must be 'bash' or 'powershell'\"` and `\"Shell interpreter.\"`)"}