settings.json

claudeInChromeDefaultEnabled

型boolean記述場所グローバル設定のみ

--chrome を毎回渡さずに、すべての対話型 CLI セッションを [Chrome 統合](/docs/en/chrome) 有効の状態で開始する。[claude remote-control](/docs/en/remote-control) を実行した場合、[プロジェクト](/docs/en/claude-projects) のスレッドのためにそれが開始したセッションも、bypassPermissions モードの場合を除き、このキーに従う。Claude Code v2.1.287 以降では、このキーは [VS Code 拡張](/docs/en/vs-code#automate-browser-tasks-with-chrome) のセッションにも適用される。詳細は [Enable Chrome by default](/docs/en/chrome#enable-chrome-by-default) を参照。

既定値: 未設定であり、Chrome 統合はオフのまま、Claude Code は引き続きセットアップを提案できる。

記述例

{
  "claudeInChromeDefaultEnabled": true
}

使い方・用途

  • Chrome 連携を毎回 --chrome を付けて起動するのが面倒なとき、~/.claude.json にこの設定を書いておけば対話的な CLI セッションを常に Chrome 連携オンで始められる
  • claude remote-control がプロジェクトのスレッド向けに起動するセッションでも Chrome 連携をデフォルトで有効にしたいとき、ただし bypassPermissions モードのセッションはこの設定に従わない
  • Claude Code v2.1.287 以降では VS Code 拡張のセッションにもこの設定を適用したいとき
英語原文(公式ドキュメントより)

Start every interactive CLI session with [Chrome integration](/docs/en/chrome) on, without passing --chrome each time. If you run [claude remote-control](/docs/en/remote-control), a session it starts for one of your [project](/docs/en/claude-projects) threads follows this key too, except in bypassPermissions mode. With Claude Code v2.1.287 or later, this key also applies to sessions in the [VS Code extension](/docs/en/vs-code#automate-browser-tasks-with-chrome): see [Enable Chrome by default](/docs/en/chrome#enable-chrome-by-default).

関連ドキュメント