Code on the go controlling claude code from your mobile device.
Free. Open source. Code anywhere.
npm install -g happy-coderhappy --server-url https://api.example.comThis will:
- Start a Claude Code session
- Display a QR code to connect from your mobile device
- Allow real-time session sharing between Claude Code and your mobile app
happy auth– Manage authenticationhappy codex– Start Codex modehappy connect– Store AI vendor API keys in Happy cloudhappy daemon– Manage background servicehappy doctor– System diagnostics & troubleshooting
-h, --help- Show help-v, --version- Show version--server-url <url>- Required server URL--webapp-url <url>- Web auth URL (required for web authentication)-m, --model <model>- Claude model to use (default: sonnet)-p, --permission-mode <mode>- Permission mode: auto, default, or plan--claude-env KEY=VALUE- Set environment variable for Claude Code (e.g., for claude-code-router)--claude-arg ARG- Pass additional argument to Claude CLI
HAPPY_WEBAPP_URL- Web auth URL (required for web authentication)HAPPY_HOME_DIR- Custom home directory for Happy data (default: ~/.happy)HAPPY_DISABLE_CAFFEINATE- Disable macOS sleep prevention (set totrue,1, oryes)HAPPY_EXPERIMENTAL- Enable experimental features (set totrue,1, oryes)
- Node.js >= 20.0.0
- Required by
eventsource-parser@3.0.5, which is required by@modelcontextprotocol/sdk, which we used to implement permission forwarding to mobile app
- Required by
- Claude CLI installed & logged in (
claudecommand available in PATH)
MIT