C:/Program Files/Git/focus command not recognized (Unknown command) on Windows v2.1.116
Resolved 💬 2 comments Opened Apr 21, 2026 by saitoko Closed Apr 24, 2026
Describe the bug
The /focus slash command returns \"Unknown command\" in the Claude Code CLI on Windows, even though it was reportedly added in v2.1.110.
To Reproduce
- Open Claude Code CLI in a terminal on Windows
- Type
/focusand press Enter - \"Unknown command: /focus\" is returned
Expected behavior
/focus should toggle the focus view as described in the changelog for v2.1.110.
Environment
- OS: Windows 11
- Claude Code version: 2.1.116
- Installation method: Windows installer (not via npm)
Additional context
Ctrl+Ostill works for focus view toggling/doctorreports no issues@anthropic-ai/claude-codedoes not appear innpm list -g(installed via Windows installer, not npm)
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗