環境変数

CLAUDE_CODE_AUTO_CONNECT_IDE

IDEへの自動接続動作をオーバーライドし、強制的に接続または無効化を設定します。

使い方・用途

  • tmuxの使用などで親ターミナルの自動検出が失敗する場合に、強制的にIDE接続を試行させるために true を設定します。
  • IDEの統合ターミナル内で実行していても、スタンドアロンのCLIとして動作させたい場合に false で自動接続を防止できます。
英語原文(公式ドキュメントより)

Override automatic IDE connection. By default, Claude Code connects automatically when launched inside a supported IDE's integrated terminal. Set to false to prevent this. Set to true to force a connection attempt when auto-detection fails, such as when tmux obscures the parent terminal. Takes precedence over the autoConnectIde global config setting

関連する変更履歴

v1.0.61 (1件)