Install
One npm install. Two binary names — happy and happyuptime.
Install the CLI
bashnpm install -g happyuptime-cli
Two binaries — both work, pick whichever feels better:
bashhappy --versionhappyuptime --version
Both are aliases for the same tool.
Auth
bashhappy login
Opens a device-flow window. Approve in your browser. The CLI stores your API key at ~/.happyuptime/config.json (mode 0600).
Alternatively use an API key directly:
bashHAPPYUPTIME_API_KEY=hu_xxxxx happy status# orhappy --api-key hu_xxxxx status
Verify
bashhappy status# Shows monitor count, current incidents, and "Logged in as your@email.com"
Update
bashnpm update -g happyuptime-cli
The CLI prints a self-update warning when a newer version is available.