Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

PowerShell users get an explicit --powershell flag on a generated hook command

When your shell setting resolves to PowerShell, a command Claude Code generates for hooks now ends with --powershell

You'll notice Improvements
JSON All of v2.1.337
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.337,
ImprovementsSection of the release
What

Hooks are commands you set up to run automatically at certain points while Claude Code works. When your shell setting resolves to PowerShell, the Windows command shell, a hook command line that Claude Code generates now has --powershell added to the end. A flag is an extra option added to a command. Before, this flag was never added.

Why

Commands Claude Code builds for PowerShell users now say outright that they are meant for PowerShell.

See this entry in the whole of v2.1.337 →

Feedback