Installation Guide
November 6, 2025 · View on GitHub
This guide walks you through installing and setting up the Claude Code Menu Bar app.
For End Users (Using Pre-built Release)
Step 1: Download and Install the App
- Download the latest release from the Releases page
- Download the
.dmgfile for macOS - Open the
.dmgfile - Drag the "Claude Code Menu" app to your Applications folder
- Open the app from Applications
First Launch:
- macOS may show a security warning since the app isn't signed
- Go to System Preferences → Security & Privacy
- Click "Open Anyway" to allow the app to run
Step 2: Install Claude Code Hooks
The app needs hooks configured in Claude Code to send real-time notifications.
Option A: Automatic Installation (Recommended)
- Click the menu bar icon
- Select "Install Hooks..." from the menu
- Follow the prompts
Option B: Manual Installation
-
Open Terminal
-
Run the installation script:
curl -sSL https://raw.githubusercontent.com/PiXeL16/claudecode-macmenu/main/hooks/install-hooks.sh | bashOr if you cloned the repository:
cd /path/to/claudecode-macmenu ./hooks/install-hooks.sh
Step 3: Verify Installation
- The menu bar icon should appear in your menu bar
- Click the icon - you should see:
- "Server: localhost:3456" (or another port)
- Your Claude Code usage statistics
- Click "Test Notification" to verify notifications work
Step 4: Configure Auto-start (Optional)
To have the app start automatically when you log in:
macOS:
- Go to System Preferences → Users & Groups → Login Items
- Click the "+" button
- Navigate to Applications and select "Claude Code Menu"
- Make sure the checkbox is checked
Or use the app:
- Click the menu bar icon
- Select "Start at Login" to toggle auto-start
For Developers (Building from Source)
Prerequisites
- macOS 10.13 or later
- Node.js 18 or later
- npm
Step 1: Clone and Install Dependencies
# Clone the repository
git clone https://github.com/PiXeL16/claudecode-macmenu.git
cd claudecode-macmenu
# Install dependencies
npm install
Step 2: Build the Application
# Build TypeScript
npm run build
# Run in development mode
npm run dev
# Or package for distribution
npm run package
The packaged app will be in the dist folder.
Step 3: Install Hooks
# Run the installation script
./hooks/install-hooks.sh
Step 4: Start the App
# Development mode (with console output)
npm run dev
# Or run the packaged app
open dist/mac/Claude\ Code\ Menu.app
Post-Installation Configuration
Customizing Notifications
- Click the menu bar icon
- Toggle "Enabled" to turn notifications on/off
- Toggle "Sound" to enable/disable notification sounds
Customizing Which Events Trigger Notifications
Edit ~/.config/claude-code/hooks.json to customize:
- Add more tools to monitor (Edit, Write, Read, etc.)
- Remove events you don't want
- Change notification behavior
See HOOKS.md for detailed customization options.
Troubleshooting Installation
App Won't Open
Security Warning:
- macOS may block unsigned apps
- Go to System Preferences → Security & Privacy → Click "Open Anyway"
Port Conflict:
- If port 3456 is in use, the app will automatically use the next available port
- Check the menu to see which port is being used
Hooks Not Working
Check hooks are installed:
cat ~/.config/claude-code/hooks.json
You should see hook configurations for Stop, SubagentStop, and PostToolUse events.
Check the server is running:
curl -X POST http://localhost:3456/hook \
-H 'Content-Type: application/json' \
-d '{"event":"Stop","timestamp":"2025-01-15T10:30:00Z"}'
If this shows a notification, the server works but hooks need configuration.
Restore previous hooks: If the installation backed up your hooks:
cp ~/.config/claude-code/hooks.json.backup ~/.config/claude-code/hooks.json
No Statistics Showing
The app reads usage data from ~/.claude/projects/**/*.jsonl
Check if files exist:
ls -la ~/.claude/projects/
If no files exist, use Claude Code for a bit to generate usage data.
Notifications Not Appearing
Check macOS notification settings:
- System Preferences → Notifications
- Find "Claude Code Menu" in the list
- Ensure notifications are enabled and set to "Alerts" (not "Banners")
Check app notification settings:
- Click the menu bar icon
- Ensure "Enabled" is checked
Uninstallation
Remove the App
- Quit the app from the menu bar (click icon → Quit)
- Delete from Applications folder
- Remove from Login Items if added
Remove Hooks (Optional)
If you want to remove the hooks:
# Restore backup if you have one
cp ~/.config/claude-code/hooks.json.backup ~/.config/claude-code/hooks.json
# Or manually edit
nano ~/.config/claude-code/hooks.json
Remove Settings (Optional)
rm -rf ~/Library/Application\ Support/claudecode-macmenu
Getting Help
- Issues: GitHub Issues
- Documentation: HOOKS.md for hook system details
- README: README.md for feature overview