なぜ設定するのか
auto のままだと多くのターミナルでは通知が出ません。terminal_bell ならどのターミナルでもベルが鳴り、タスク完了や権限確認待ちに気づけます。
他の値: iterm2 / iterm2_with_bell / kitty / ghostty / notifications_disabled
設定方法
~/.claude/settings.jsonを開く(なければ作る)- スニペットを JSON の中に統合する。既存の設定は消さず、キーを足す形で入れる
- Claude Code を起動し直す
- 既定値
- "auto"(iTerm2・Ghostty・Kitty 以外では何もしない)
- 書く場所
~/.claude/settings.json- 型
- string, one of:
- 置ける場所
- Any file
指定できる値
"auto"Claude Code sends a desktop notification in iTerm2, Ghostty, and Kitty, rings the bell in Terminal.app only when its audible bell is off, and does nothing elsewhere"terminal_bell"Claude Code rings the bell character in any terminal"iterm2"Claude Code sends an iTerm2 desktop notification"iterm2_with_bell"Claude Code sends an iTerm2 desktop notification and rings the bell"kitty"Claude Code sends a Kitty desktop notification"ghostty"Claude Code sends a Ghostty desktop notification"notifications_disabled"Claude Code sends no notification
公式ドキュメントの説明
Choose how Claude Code notifies you when a task completes or a permission prompt is waiting. Appears in /config as Local notifications.