C:/Program Files/Git/terminal-setup rejects Windows Terminal despite listing it as supported

Resolved 💬 3 comments Opened Mar 18, 2026 by Yortw Closed Mar 21, 2026

Bug

/terminal-setup outputs "Terminal setup cannot be run from windows-terminal" but then lists "Windows: Windows Terminal" as a supported terminal to run it from.

Environment

  • Claude Code 2.1.78
  • Windows 10 Pro, Windows Terminal with a Command Prompt profile (running Git Bash via claude)
  • Not inside tmux/screen
  • WT_SESSION is set, TMUX and STY are empty, TERM_PROGRAM is empty

Steps to reproduce

  1. Open Windows Terminal with a Command Prompt profile
  2. Run claude (which uses Git Bash as its shell)
  3. Run /terminal-setup

Expected

Setup should proceed (or at minimum, the error message shouldn't list Windows Terminal as a supported option).

Actual

Error says it can't run from windows-terminal, then suggests running it from Windows Terminal.

View original on GitHub ↗

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