[FEATURE] new env variable for system that claude code works on

Status Closed — duplicate
Maintainer reply None cached
Activity 2 comments · opened Feb 8, 2026 · closed Feb 8, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

claude code tries linux commands on windows

Proposed Solution

please add a new env variable that will tell claude code it's working in windows 11 instead of linux so it knows not to try linux commands

Alternative Solutions

i am trying to define that in claude.md but it does not work

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

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