Skip to content

Kilo CLI uses Linux commands in tool calls when running on Windows #6307

@doxxx

Description

@doxxx

Description

I'm running Kilo CLI (installed via npm) on Windows 11. Using the Orchestrator agent, I'm giving it a prompt to implement a feature. In the various sub-agents that Orchestrator launches, it is performing command-line tool calls using bash which looks like it is actually launching WSL since that's what bash at the Windows command-line launches.

In this particular example, it executed dir "C:\Path\To\My\Project" /a (with backslashes) which failed with: /usr/bin/bash: -c: line 1: unexpected EOF while looking for matching "'. It then switched to using ls -la` but still with a Windows path using forward slashes, which just happens to work in WSL.

Plugins

No response

Kilo version

Kilo CLI 1.0.23

Steps to reproduce

  1. Launch Kilo CLI on Windows.
  2. Give a prompt to the Orchestrator agent that requires inspecting and modifying files.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIKilo Code CLIbugSomething isn't workingcli-toolsIssues related to CLI tools like Claude Code, Gemini-CLI, etc.kilo-auto-fixAuto-generated label by Kilokilo-triagedAuto-generated label by Kilowindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions