Skip to content

C:/Program Files/Git/focus command not recognized (Unknown command) on Windows v2.1.116 #51756

@saitoko

Description

@saitoko

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions