Installation
Get Irrlicht running on your Mac in under two minutes via the package installer, or build everything from source.
Prerequisites
- macOS 13 (Ventura) or later — Irrlicht uses SwiftUI APIs that require Ventura as a minimum.
- Linux (daemon-only) — x86-64 or ARM64, Linux 5.3+ (for
pidfdexit detection). Irrlicht runs as a daemon (a background process,irrlichd) headless, with the web dashboard as its UI; there is no menu-bar app on Linux yet. See Linux setup below. - At least one supported AI coding agent installed and working:
- Claude Code
- OpenAI Codex CLI
- Pi
- Aider
- OpenCode
- Kiro CLI
- Gemini CLI
- Antigravity (agy CLI or IDE)
- Mistral Vibe
- GitHub Copilot CLI
- Hermes Agent
- Muse (Meta
museCLI) - Junie
- DeepSeek Harness (
dshCLI)
If you plan to build from source, you will also need:
- Go 1.26+ — the daemon is written in Go
- Swift 5.9+ — the menu-bar app is a native SwiftUI application
- Xcode Command Line Tools — install with
xcode-select --install - Node.js with npm —
build-release.shalso packages the VS Code extension (.vsix) and stops ifnodeornpmis missing; the manual daemon and app builds below do not need it
Install via Homebrew (Recommended)
For Mac users with Homebrew, this is the simplest path. The cask points at the same Developer-ID signed + Apple-notarized DMG as the GitHub release, and lets brew upgrade handle future versions. Starting in v0.4.7 the app also auto-updates itself via Sparkle, so manual upgrades become optional.
brew tap ingo-eichhorst/irrlicht
brew install --cask irrlicht
To upgrade later:
brew upgrade --cask irrlicht
Install via curl
One command. No Gatekeeper prompts. The script downloads the Developer-ID signed and Apple-notarized app, verifies the SHA-256 checksum, and launches it.
curl -fsSL https://irrlicht.io/install.sh | sh
Options:
--daemon-only— install justirrlichdto~/.local/bin/(no menu bar app)--version X.Y.Z— pin a specific version instead of latest
# Daemon only
curl -fsSL https://irrlicht.io/install.sh | sh -s -- --daemon-only
# Specific version
curl -fsSL https://irrlicht.io/install.sh | sh -s -- --version 0.5.1
Install via DMG / PKG
Manual drag-and-drop install. Use this if you prefer not to run a shell script, or if you're installing offline.
-
Download the DMG or PKG
Grab
Irrlicht-<version>.dmgorIrrlicht-<version>-mac-installer.pkgfrom the GitHub Releases page. -
Install the app
Open the DMG and drag Irrlicht.app to Applications. You may need to approve the app in System Settings → Privacy & Security if Gatekeeper blocks it.
-
What gets installed
Component Location Irrlicht.app (menu-bar app + embedded daemon) /Applications/Irrlicht.appThe daemon (
irrlichd) is embedded inside the app bundle and managed automatically. No separate services or LaunchAgents needed. -
Launch the app
Open Irrlicht from Applications. A dimmed grey flame appears in the menu bar, and the daemon starts automatically in the background.
On first launch the app also registers itself as a macOS login item (via
SMAppService), so the menu-bar overlay is up before you open your first terminal after a reboot. Toggle this off in Settings → "Open at Login" if you prefer to launch the app manually; the choice is persisted and the default never re-applies.
Linux (daemon-only)
On Linux, Irrlicht ships as a headless daemon — the same irrlichd as on macOS, observing sessions via /proc and pidfd instead of lsof/kqueue. There is no tray app yet; the web dashboard at http://127.0.0.1:7837 is the UI. Session detection, states, costs, token metrics, and lifecycle all work; terminal-window focus is macOS-only and degrades cleanly to "unsupported."
The curl installer auto-detects Linux and installs the daemon only (it picks the right amd64/arm64 build):
curl -fsSL https://irrlicht.io/install.sh | sh
This installs irrlichd to ~/.local/bin/, the dashboard assets to ~/.local/share/irrlicht/web/, and a systemd user unit at ~/.config/systemd/user/irrlichd.service (written but not enabled). Start it directly with ~/.local/bin/irrlichd &, or enable the unit for autostart.
Autostart with systemd
The installer already wrote the unit, so just enable it:
systemctl --user enable --now irrlichd
If you built from source instead of using the installer, create the unit yourself (%h expands to your home directory):
mkdir -p ~/.config/systemd/user
cat > ~/.config/systemd/user/irrlichd.service <<'EOF'
[Unit]
Description=Irrlicht — AI coding-agent session monitor
Documentation=https://irrlicht.io/docs/installation.html
[Service]
ExecStart=%h/.local/bin/irrlichd
Restart=on-failure
RestartSec=2
[Install]
WantedBy=default.target
EOF
systemctl --user daemon-reload
systemctl --user enable --now irrlichd
On a headless server, allow the user service to keep running after you log out:
loginctl enable-linger "$USER"
Check it: systemctl --user status irrlichd, then open http://127.0.0.1:7837. The curl installer's --uninstall flag stops and removes the unit.
Build from Source
Building from source gives you the full installer package, with the same layout as the release download — ad-hoc signed and not notarized unless you set DEVELOPER_ID and NOTARYTOOL_KEYCHAIN_PROFILE.
One-command build
git clone https://github.com/ingo-eichhorst/Irrlicht.git
cd Irrlicht
./tools/build-release.sh
The script produces a .dmg and a .pkg in .build/.
What the build script does
Under the hood, build-release.sh performs these steps in order:
- Cross-compiles the daemon — builds
irrlichdfor botharm64(Apple Silicon) andamd64(Intel). - Creates a universal binary — merges both architectures with
liposo one binary runs natively on any Mac. - Builds the Swift menu-bar app — compiles
Irrlicht.appfrom the SwiftUI source. - Stages the web frontend — copies the dashboard HTML/CSS/JS into
Irrlicht.app/Contents/Resources/web/, where the daemon serves it from disk. - Embeds the daemon — places the universal
irrlichdbinary insideIrrlicht.app/Contents/MacOS/. - Packages into DMG and installer — creates a
.dmgfor drag-and-drop install and a.pkginstaller.
Manual build (individual components)
If you prefer to build each component separately for development:
Daemon only
cd core && go build ./cmd/irrlichd/
Menu-bar app only
cd platforms/macos && swift build
build-release.sh which embeds the daemon into the app bundle. Manual builds are useful for development but require running the daemon separately.
Post-Installation
Once installed (via either method), Irrlicht is ready to go.
- The app manages everything — the embedded daemon starts automatically when the app launches. No separate services or LaunchAgents needed.
- The menu-bar app appears in your menu bar as a flame icon. Click it to see the current state of all detected AI agent sessions.
Verify the daemon is running
curl http://127.0.0.1:7837/state
A successful response returns a JSON object with the current global state. If the daemon is not running, verify the app is launched and check logs.
Check logs
Daemon logs are written to:
~/Library/Application Support/Irrlicht/logs/
Inspect these if the daemon fails to start or you encounter unexpected behaviour.
127.0.0.1:7837 by default. This port is not exposed to the network. See the Configuration page to change the bind address or port.
statusLine.command entry in ~/.claude/settings.json. Any Claude Code session already running at that point won't pick it up — close and reopen it once to activate the integration.
Optional: the Irrlicht panel inside Claude Code
If you work in a full-screen Claude Code terminal and the menu bar is out of sight, you can add a read-only Irrlicht panel beside the chat. It lists every session the daemon watches, from every agent, along with your quota. It reads the same /api/v1/sessions endpoint as the dashboard and changes nothing. Install it at a Claude Code prompt:
/plugin install irrlicht-panel --marketplace ingo-eichhorst/Irrlicht
Open it with /irrlicht. In Claude Code's full-screen layout it also docks itself as a sidebar once the terminal is wide enough. See the panel's README for what it shows and which daemon it asks.
Troubleshooting
Claude Code shows HTTP 403 from http://localhost:7837/api/v1/hooks/claudecode
You see lines like PostToolUse:Bash hook error or Stop hook error followed by an HTTP 403, while the lights and notifications keep working. The 403 does not come from Irrlicht. The daemon's hook endpoint only answers 200, 400 or 405. It comes from Claude Code's sandbox. With sandbox.enabled on, Claude Code sends HTTP hooks through its sandbox network proxy. That proxy's allowed domains start empty, so it refuses the request before it reaches the daemon (observed with Claude Code 2.1.284, #2051). Irrlicht keeps working because it also reads the transcripts directly. What you lose is the faster hook signal.
To fix it, allow the daemon's address in ~/.claude/settings.json and restart your Claude Code sessions:
{
"sandbox": {
"network": {
"allowedDomains": ["localhost:7837"]
}
}
}
Merge this into your existing sandbox block rather than replacing it. If the daemon runs on a different port (see Which port variable do I set?), use that port. Changing the hook URL to 127.0.0.1 does not help on its own: the sandbox proxy refuses loopback addresses unless they are listed too.
The entry also lets commands that go through the sandbox proxy reach the daemon on that port. Leave it out if that matters more to you than the hook signal.
Uninstalling
Use the installer's --uninstall flag. It stops the daemon, removes the app bundle, the irrlichd binary and the LaunchAgent (or systemd user unit on Linux), and clears the hook entries Irrlicht wrote into your agent configs:
curl -fsSL https://irrlicht.io/install.sh | sh -s -- --uninstall
Your session history and configuration in ~/Library/Application Support/Irrlicht/ and ~/.local/share/irrlicht/ are kept. To remove those too:
rm -rf ~/Library/Application\ Support/Irrlicht/ ~/.local/share/irrlicht/
rm -rf /Applications/Irrlicht.app, the hook entries stay in your agent configs and keep firing at a port nothing is listening on. Run --uninstall above instead — or, if the binary is already gone, clean up by hand. At their default locations: remove Irrlicht's hook entries from ~/.claude/settings.json, ~/.codex/hooks.json, ~/.gemini/settings.json (Gemini CLI), ~/.gemini/config/hooks.json (Antigravity), ~/.hermes/config.yaml and ~/.hermes/shell-hooks-allowlist.json, and ~/.vibe/hooks.toml (plus the enable_experimental_hooks line in ~/.vibe/config.toml, if present); remove the marked Irrlicht blocks from ~/.claude/CLAUDE.md and ~/.config/kitty/kitty.conf; delete ~/.copilot/hooks/irrlicht.json, ~/.kiro/agents/irrlicht.json, ~/.pi/agent/extensions/irrlicht.js and ~/.config/opencode/plugin/irrlicht.js; and for Kiro CLI, restore chat.defaultAgent in ~/.kiro/settings/cli.json (its previous value is in ~/.kiro/.irrlicht-prior-default.json), then delete that file and ~/.kiro/.irrlicht-agent-snapshot.json. While the binary still exists, irrlichd --print-managed-files prints the exact resolved list.