You give Claude Code a task, switch to another window, and come back ten minutes later. Either it finished nine minutes ago, or it stopped after thirty seconds to ask for permission. Both cost you time.
This guide covers the ways to get a signal when Claude Code finishes or needs you on a Mac, starting with what Claude Code already does on its own.
What Claude Code does by default
When Claude finishes a task or pauses for a permission prompt while you seem to be away from the terminal, Claude Code fires a notification event. What you actually see depends on your terminal, according to Anthropic's terminal guide:
- Ghostty, Kitty and iTerm2: a desktop notification. iTerm2 shows it only after you turn on its alert settings (Settings → Profiles → Terminal → Notification Center Alerts, then Filter Alerts → Send escape sequence-generated alerts).
- Apple Terminal: no sound by default.
- Other terminals: nothing.
Option 1: the terminal bell
To make Claude Code send a bell in any terminal, set preferredNotifChannel in ~/.claude/settings.json:
{
"preferredNotifChannel": "terminal_bell"
}
In Apple Terminal, also turn on Audible bell under Settings → Profiles → Advanced.
The bell is free and simple. It tells you something happened, not which session or what it wants.
Option 2: a Notification hook
Claude Code hooks are shell commands that Claude Code runs at points in its lifecycle. You add them to ~/.claude/settings.json. The Notification event fires when Claude Code sends a notification, and the Stop event fires when Claude finishes responding.
Anthropic's own example shows a macOS notification with osascript:
{
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "osascript -e 'display notification \"Claude Code needs your attention\" with title \"Claude Code\"'"
}
]
}
]
}
}
Anthropic notes that osascript sends notifications through Script Editor. If Script Editor doesn't have notification permission, the command fails silently. You can also play a sound with afplay /System/Library/Sounds/Glass.aiff.
Hooks are flexible, but you write and maintain them yourself, and every session sends the same message.
Option 3: Void Island in the notch
Void Island installs Claude Code hooks for you and turns them into status in your Mac's notch: which session is running, which one is waiting for you, and which one just finished.
Set it up
- Install Void Island and open it.
- In the first-run guide, or in Settings → AI assistants → Connection, click Connect. Void Island backs up
~/.claude/settings.jsontosettings.json.void-island.bakbefore the first write. - Start a Claude Code session. It appears in the notch.
Choose how loud it is
All of these are in Settings → AI assistants → Approvals and alerts, except sound:
- Pop up when a session finishes: the island opens a completion card for that session and keeps it up until you press Esc or move the pointer in and out.
- Notify when done: a macOS notification when a terminal session that kept you waiting finishes or fails. Click it to go back to that terminal. It stays quiet while you are already looking at the session.
- Pop up and sound even when its app is in front: decide whether a session's terminal being in front should keep the island quiet.
- Stay quiet while recording or sharing the screen: no pop-ups or sounds while an app records, shares or mirrors the screen. The notch still shows status.
- Bark push: enter your own Bark address to get approvals, questions, finished, failed and dangerous actions on your iPhone. The title and one line pass through Bark's server.
- Settings → Sound: built-in 8-bit cues, volume, and custom sound packs. Files named
attention,question,done,failed,dangerorstartreplace the default sounds.
To go back to the session, press ⌘G or ⌘-click it. See Jump back for which terminals open the exact tab.
Limits
- Notifications for the Claude desktop app come from the Claude app itself. Void Island shows its sessions on the island but leaves the system notifications to Claude.
- After the 2-day trial, free mode shows only your current session, its notifications and usage. Several sessions at once need a license.
- Void Island adds to Claude Code's own notifications. It doesn't turn them off.
For all notification settings, see Notifications. For everything Void Island does with Claude Code, see Claude Code.
Common questions
Why don't I get any notification from Claude Code in Apple Terminal?
By default Claude Code doesn't play a sound in Apple Terminal. Set preferredNotifChannel to "terminal_bell" and turn on Audible bell in the Terminal profile, add a Notification hook, or use an app like Void Island.
Can I be notified only when Claude Code needs permission?
With hooks, yes: the Notification event can be filtered with the permission_prompt matcher. In Void Island, a permission request always shows in the notch as "needs you", and finished sessions are controlled separately by Pop up when a session finishes and Notify when done.
Do I still need my own hooks after installing Void Island?
No, but you can keep them. Void Island only adds entries marked with its own hook script and leaves your other hooks alone. Disconnecting removes only what it added.
Can I get Claude Code notifications on my iPhone?
Void Island has no iPhone app. You can enter a Bark address in Bark push to receive pushes through the Bark app.