Skip to main content

Usage


Options

string
Your Hexr Cloud API key. Format: hxr_live_<64 hex characters>.
string
default:"https://api.hexr.cloud"
Cloud API endpoint (for self-hosted Cloud API).
flag
Show current authentication status without modifying anything.

What Happens

hexr login stores credentials in ~/.hexr/config.json:
This enables:
  • hexr push --cloud — build via Google Cloud Build
  • hexr deploy --cloud — deploy to Hexr Cloud GKE
  • hexr status — show agents deployed in Hexr Cloud

hexr logout

Remove stored credentials: