bellpip
Try it free

Claude Code notifications in Ghostty, iTerm2, Terminal and tmux

Whether Claude Code tells you it's waiting depends on the terminal you run it in. Ghostty and Kitty show a notification on their own, iTerm2 needs one setting, Terminal and Warp need the bell or a hook, and tmux swallows notifications until you add one line.

Checked against Claude Code's documentation (v2.1.311) on 27 October 2026.

At a glance

TerminalNotification by itself?What to do
GhosttyYesAllow Ghostty in System Settings → Notifications
KittyYesAllow Kitty in System Settings → Notifications
iTerm2Yes, with one settingTurn on escape sequence alerts (below)
Terminal (macOS)NoTerminal bell or a hook
WarpNoTerminal bell or a hook
VS Code, CursorNoSee VS Code and Cursor
Inside tmuxNot until passthrough is onset -g allow-passthrough on

Source: "By default Claude Code sends a desktop notification only in Ghostty, Kitty, and iTerm2" (terminal configuration). The same page notes the notification "reaches your local machine over SSH", so a session on a remote server can still alert you.

Ghostty and Kitty

Nothing to set up in Claude Code. If no banner appears, open System Settings → Notifications, find Ghostty (or Kitty) and turn on Allow Notifications. Notifications only come when you seem to be away: about six seconds after a permission prompt with no typing, about 60 seconds after Claude finishes. See notifications not working for those timers.

iTerm2

From the docs: go to Settings → Profiles → Terminal, check "Notification Center Alerts", then click "Filter Alerts" and enable "Send escape sequence-generated alerts". Also allow iTerm2 in System Settings → Notifications.

Terminal (the one that comes with macOS) and Warp

Neither gets Claude Code's desktop notification. Two ways to hear from it:

The terminal bell. Add to ~/.claude/settings.json:

{
  "preferredNotifChannel": "terminal_bell"
}

In Terminal, Claude Code's first-run terminal setup turns the audible bell off in your profile. Turn it back on: Terminal → Settings → Profiles → Advanced → "Audible bell".

A hook, for a banner or your own sound in any terminal. A Notification hook for "needs you", a Stop hook for "done":

{
  "hooks": {
    "Notification": [
      { "matcher": "", "hooks": [{ "type": "command", "command": "afplay /System/Library/Sounds/Glass.aiff" }] }
    ],
    "Stop": [
      { "hooks": [{ "type": "command", "command": "afplay -v 0.5 /System/Library/Sounds/Tink.aiff" }] }
    ]
  }
}

Banners instead of sounds: Get notified when Claude Code needs your input.

tmux

Inside tmux, "desktop notifications and the progress bar never reach the outer terminal" by default. The docs' fix, in ~/.tmux.conf:

set -g allow-passthrough on
set -g focus-events on
set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'

Then run tmux source-file ~/.tmux.conf. allow-passthrough is the line that lets notifications through; the extended-keys lines make Shift+Enter add a new line. Hooks don't need any of this: Claude Code runs them itself, so a sound hook plays inside tmux as it does outside.

A status in the tab: OSC 7501

Claude Code v2.1.295 and later report each session's state (working, waiting on you, done) to terminals that implement the OSC 7501 Program Status Protocol, with nothing to turn on (terminal configuration). Check your terminal's documentation for whether it does. Inside tmux this doesn't work: start the session outside tmux.

Finding the right tab

A notification says something happened, not where. With sessions in three Ghostty tabs, an iTerm2 window and a tmux pane, you still hunt for the one that's waiting.

Bellpip puts every session in your MacBook's notch with its state. Click a row and it brings the exact terminal forward: the tab in Terminal and iTerm2, the tab in Ghostty 1.3 or later, the pane in tmux (default server). Warp has no way to focus a tab from outside, so Bellpip brings its window forward.

Bellpip keeps every Claude Code session in your MacBook's notch and rings with its own chime when one needs you, finishes or fails, in any terminal. Your music dips under the chime. macOS only. Free for 7 days of use, then pay what you want, even $0.

Try free Hear the three chimes

Questions

Does Claude Code send notifications in Ghostty?

Yes, by itself. If none appear, allow Ghostty in System Settings → Notifications, and remember they come only when you seem to be away.

Why is iTerm2 silent?

Turn on "Send escape sequence-generated alerts" under Settings → Profiles → Terminal → Filter Alerts, and allow iTerm2 in System Settings → Notifications.

How do I get Claude Code notifications inside tmux?

Add set -g allow-passthrough on to ~/.tmux.conf and run tmux source-file ~/.tmux.conf. Or use a hook, which works inside tmux without it.

Does Warp get Claude Code notifications?

Not by default. The docs name Warp among the terminals that should use a hook or "preferredNotifChannel": "terminal_bell".