Skip to main content

Getting Started

Requirements

  • Claude Code CLI
  • jq (for JSON parsing)
  • Bash (macOS, Linux) or PowerShell (Windows)

Installing jq

# macOS
brew install jq

# Ubuntu/Debian
sudo apt install jq

# Fedora
sudo dnf install jq

# Windows (Chocolatey)
choco install jq

Platform-specific Notification Tools

PlatformRequired ToolPre-installed
macOSosascriptYes
Linuxnotify-sendUsually
WindowsPowerShellYes
WSLPowerShell (Windows)Yes

If notify-send is missing on Linux:

# Ubuntu/Debian
sudo apt install libnotify-bin

# Fedora
sudo dnf install libnotify

# Arch
sudo pacman -S libnotify

Installation

git clone https://github.com/js-koo/claude-code-notifier.git && cd claude-code-notifier && ./install.sh

Restart Claude Code after installation.

Verify Installation

/notifier status

Shows current settings if installed correctly.

/notifier test

Success if you receive a notification.

Commands

CommandDescriptionDefault
/notifier helpHelp
/notifier statusCurrent settings
/notifier testTest notification
/notifier duration <sec>Minimum task duration20
/notifier lang <ko|en>Notification languageen
/notifier preview <len>Prompt preview length45
/notifier uninstallUninstall

Configuration Examples

# Notify only for tasks over 30 seconds
/notifier duration 30

# Korean notifications
/notifier lang ko

# Notify on all task completions
/notifier duration 0

Notification Messages

EventKoreanEnglish
Task complete작업 완료!Task completed!
Permission request권한 요청 대기 중Permission request waiting
Waiting for input입력을 기다리는 중Waiting for input

Config File

Settings are stored at ~/.config/claude-code-notifier/config.

MIN_DURATION_SECONDS=20
NOTIFIER_LANG=en
PROMPT_PREVIEW_LENGTH=45

Uninstall

/notifier uninstall

Troubleshooting

No notifications

  1. Check notify-send installation (Linux):
which notify-send
  1. Check notification permissions (macOS):

    • System Settings → Notifications → Allow terminal app
  2. Check Do Not Disturb mode

No notifications in WSL

WSL uses Windows notifications:

powershell.exe -Command "echo test"

Permission errors

chmod +x install.sh
chmod +x hooks-handlers/*.sh