Skip to content

msys tooling support #9268

@motgenror

Description

@motgenror

What feature would you like to see?

I would like Codex CLI to be able to use the same tooling it uses on Linux, but on Windows in the same smooth and seamless way as on Linux. Mainly because Powershell support is too noisy and buggy.

Additional information

This was enough of an everyday problem that I implemented this feature for Codex locally by adding [features].use_posix_shell_on_windows and tested with msys in PATH. The result is beautiful - weird powershell errors disappeared, the TUI output got as clean as it is on Linux. Contributions page says you only accept bug fixes, not features, so 🤷‍♂️.

"Use WSL" doesn't work, because I need to work on Windows projects, and using Windows tooling from WSL is always messy (e.g., calling Windows binaries of cargo and MSVC and clang and so on from a Linux environment messes up a lot of things even if technically possible).

"Ask AI to use msys" also doesn't work, because it still tries to run bash via powershell and ends up with quoting errors and asking approval for everything because bash through powershell is not a standard set of approved commands in that configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIenhancementNew feature or requestwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions