claude-code - 💡(How to fix) Fix [Bug] Terminal setup command blocked on Windows Terminal [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45512Fetched 2026-04-09 08:03:42
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Bug Description I cannot use the terminal-setup command in windows terminal. it says "Terminal setup cannot be run from windows-terminal"

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.97
  • Feedback ID: 68966c80-50b8-4358-8e6e-b6166ca8bed1
<img width="1451" height="654" alt="Image" src="https://github.com/user-attachments/assets/f1ba9b6d-7299-42c0-bfea-c97582595363" />

extent analysis

TL;DR

The issue might be resolved by running the terminal-setup command outside of the Windows Terminal application.

Guidance

  • Check if the terminal-setup command is designed to be run from a specific terminal or command prompt, as the error message suggests it cannot be run from Windows Terminal.
  • Try running the terminal-setup command from the default Command Prompt or PowerShell on Windows to see if it works as expected.
  • Verify the documentation or usage instructions for the terminal-setup command to ensure it is being used correctly.

Notes

The provided image does not offer additional textual information to assist in diagnosing the issue, and without more details about the terminal-setup command, it's challenging to provide a more specific solution.

Recommendation

Apply workaround: Run the terminal-setup command from a different terminal application, such as Command Prompt or PowerShell, as this approach may bypass the restriction imposed by Windows Terminal.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING