Diagnose Claude Code Anywhere installation and configuration
Diagnoses Claude Code Anywhere installation, configuration, and service status across all modes.
/plugin marketplace add blueraai/claude-code-anywhere/plugin install claude-code-anywhere@blueraDiagnose installation status and configuration of Claude Code Anywhere.
First, detect which installation mode is active:
~/.claude-code-anywhere/bin/claude shim existsclaude /plugin add--plugin-dir . (development mode)Detection order:
~/.claude-code-anywhere/bin/claude exists → Global Install# Check for global install
test -f ~/.claude-code-anywhere/bin/claude && echo "global" || echo "not-global"
# Check server status
${CLAUDE_PLUGIN_ROOT}/scripts/server-status.sh
Based on results:
For Global Install mode:
For Dogfooding/Plugin mode:
For Not Installed mode:
/cca on or bash scripts/install.shGet channel info from server status API response:
channels array in status responsewhich -a claude 2>/dev/null | head -5
Only show ❌ if global install exists but shim not first in PATH.
macOS:
launchctl list | grep com.claude.code-anywhere 2>/dev/null || echo "not found"
Linux:
systemctl --user is-active claude-code-anywhere.service 2>/dev/null || echo "not found"
Global Install Mode:
╭─────────────────────────────────────────╮
│ Claude Code Anywhere - Diagnostics │
╰─────────────────────────────────────────╯
## Installation Mode
✅ Global Install (all sessions get notifications)
## PATH Check
✅ Shim is first in PATH: ~/.claude-code-anywhere/bin/claude
Real claude: /opt/homebrew/bin/claude
## Service Status
✅ Daemon running (launchd: com.claude.code-anywhere)
## Server Status
✅ API responding: http://localhost:<port>
Uptime: 91 minutes
Active sessions: 1
## Channels
✅ Email: sender@gmail.com → you@example.com
✅ Telegram: Chat ID 123456789
Dogfooding/Plugin Mode:
╭─────────────────────────────────────────╮
│ Claude Code Anywhere - Diagnostics │
╰─────────────────────────────────────────╯
## Installation Mode
✅ Dogfooding/Plugin Mode (this session only)
ℹ️ For all sessions, run: bash scripts/install.sh
## Server Status
✅ API responding: http://localhost:<port>
Uptime: 91 minutes
Active sessions: 1
## Channels
✅ Email: sender@gmail.com → you@example.com
✅ Telegram: Chat ID 123456789
---
All systems operational for this session.
Not Running:
╭─────────────────────────────────────────╮
│ Claude Code Anywhere - Diagnostics │
╰─────────────────────────────────────────╯
## Installation Mode
❌ Not running
## Server Status
❌ Server not responding
## Next Steps
- Start notifications: `/cca on`
- Or install globally: `bash scripts/install.sh`
| Issue | Fix |
|---|---|
| Shim not first in PATH | source ~/.zshrc or restart terminal |
| Daemon not running | launchctl load ~/Library/LaunchAgents/com.claude.code-anywhere.plist |
| Plugin not found | Re-run: bash scripts/install.sh |
If shim not first in PATH:
VS Code / Cursor:
"terminal.integrated.env.osx": {
"PATH": "${env:HOME}/.claude-code-anywhere/bin:${env:PATH}"
}
tmux:
set-option -g default-command "exec $SHELL -l"