The Happy Next CLI wraps your existing AI coding tools (Claude Code, Codex, Gemini CLI) and adds mobile access, real-time sync, and orchestration.
Requirements
- Node.js 20 or later
- At least one AI coding tool installed:
Install
npm install -g happy-next-cli
Verify the installation:
First run
Navigate to a project directory and run:
This starts a Claude Code session (the default agent). On first run, Happy will:
- Generate an encryption key pair stored at
~/.happy/access.key
- Register your machine with the Happy server
- Start the daemon (background service) automatically
- Display a QR code for mobile app pairing
Keep your encryption key safe. The file ~/.happy/access.key is your identity and encryption key. If you lose it, you cannot decrypt your session history. Back it up.
Data directory
Happy stores its data at ~/.happy/:
| File | Purpose |
|---|
access.key | Your encryption private key |
settings.json | CLI configuration |
daemon.state.json | Daemon process info |
logs/ | Session and daemon logs |
Update
npm update -g happy-next-cli
Or use the built-in command:
Uninstall
npm uninstall -g happy-next-cli
To also remove local data: