Onboarding
Pick hosted vs self-hosted, then configure the app and connect a daemon.
Happier always follows the same high-level flow:
- Choose a server (hosted by default; self-hosting is optional).
- Configure the app/web UI to that server.
- Sign in / create an account on that server.
- Connect a terminal/daemon (the connect link/QR includes the server URL to avoid “wrong server” confusion).
Choose your setup
Option A — Hosted (recommended to start)
You use Happier Cloud.
- Install the CLI:
npm install -g @happier-dev/cli- Sign in:
happier auth login- Follow the printed instructions to connect your terminal/daemon.
- Recommended: choose the mobile path first (QR/deep link). It is the easiest way to create/login once and then link other devices.
- If you already use Happier on another device, sign in with that same account.
- If you open a terminal-connect link while logged out, Happier guides you through sign in/create account and then returns to terminal approval automatically.
Option B — Self-host server-only (daemon on your laptop)
You run your own server (remote machine, LAN box, or even your own computer), but run the daemon on another machine.
-
Install your server (examples):
- Proxmox: see Proxmox deployment.
- Any machine: use
hstack setup(recommended) to install the stack.
-
Configure the Happier app/web UI to your server.
- If you used
hstack setup, it prints configure-server links/QRs you can open/scan. - Otherwise, open the app and add/select your server in Server settings.
- If you used
-
Create an account / sign in on your server (in the app or web UI).
-
On the machine where you want the daemon, add/use the server and connect:
happier server add --name company --server-url https://YOUR_SERVER_URL --webapp-url https://YOUR_WEBAPP_URL --use
happier auth login--use sets the default server, so subsequent commands (like happier daemon start) will target it automatically.
Then use the same mobile-first flow:
- Scan the terminal QR from
happier auth loginin the Happier mobile app (recommended), or use the web link. - If you already use Happier on another device, sign in with that same account on this server.
- If you are not signed in yet, complete sign in/create account first; Happier returns you to terminal approval automatically.
Option C — Devbox (server + daemon on the same machine)
You install both the server and the daemon on one box.
- Install the stack (for example via
hstack setupor the Proxmox “devbox” option). - Configure the app/web UI to your server (use the printed configure-server link/QR).
- Sign in / create an account.
- Approve the daemon connection when prompted.
Recommended for first setup:
- Use the mobile app to sign in/create account first.
- Scan/approve terminal connection from the mobile app.
Multiple servers (personal + company)
- The app and CLI support multiple saved servers.
- Credentials/state are scoped per server, so switching servers doesn’t overwrite other accounts.
- Accounts are per server. Using the same login provider on two servers still creates two independent server-side account contexts.
- Web: you can switch the server for this tab or make it the device default.
CLI: target a server per invocation
happier --server company auth login
happier --server company daemon startCLI: run multiple daemons on one machine (one per server)
happier --server personal daemon service install
happier --server company daemon service installThen verify (cross-platform):
happier daemon status --all
happier --server personal daemon service status
happier --server company daemon service statusFor complete profile/switching behavior and CLI reference, see Features → Multi-server.