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

  1. Open Claude Code CLI in a terminal on Windows
  2. Type /focus and press Enter
  3. \"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+O still works for focus view toggling
  • /doctor reports no issues
  • @anthropic-ai/claude-code does not appear in npm list -g (installed via Windows installer, not npm)

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗