C:/Program Files/Git/model command does not show interactive picker on Windows (PowerShell 7)
Resolved 💬 4 comments Opened Apr 11, 2026 by drkthng Closed May 22, 2026
Description
The /model slash command does not show an interactive picker/dropdown on Windows. Passing the model name as an argument works fine (e.g. /model sonnet), but typing /model alone with no argument produces no interactive selection UI.
Environment
- OS: Windows 11 Pro (10.0.22621)
- Shell: PowerShell 7
- Terminal: Windows Terminal
- Claude Code version: 2.1.87
- Node TTY detection:
node -e "console.log(process.stdout.isTTY)"→true
Steps to Reproduce
- Open Claude Code in PowerShell 7 on Windows Terminal
- Type
/modelwith no arguments - No interactive picker appears — the command does nothing visible
Expected Behavior
An interactive picker/dropdown should appear to select from available models.
Workaround
Passing the model name directly works:
/model sonnet
/model opus
/model haiku
Notes
Since process.stdout.isTTY returns true, basic TTY detection is not the issue. The picker library may be doing additional Windows-specific checks (e.g. arrow key sequence handling) that fail silently and skip rendering the interactive UI.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗