VelvetShark

TIL: Get a sound notification in Claude Code when a task is complete

Claude Code is a powerful tool, but if you're running a long task, you have to keep checking back to see if it's finished. Other AI coding assistants, like Cursor, have sound notifications to let you know when a task is done, which is a small but incredibly useful feature.

Turns out, you can enable a similar (though much simpler) sound notification feature in Claude Code with a single command:

claude config set --global preferredNotifChannel terminal_bell

This command tells Claude Code to use the terminal's built-in bell as its sound notification channel. After you run this, you'll hear a simple system beep whenever a long-running command completes.

It's not as fancy as a custom sound, but it's a game-changer for productivity. You can kick off a build, a test suite, or a code generation task, switch to another window, and wait for the beep. No more constant context-switching to check on progress.

My job is done here. 🔔

Shark footer