Config file
By default, HEVN CLI stores local configuration at:Environments
Select an environment globally:
You can also override URLs directly:
API keys
The preferred interactive auth path is:api_keyapi_key_headerbase_url, when returned by the login callback
Authorization mode adds a Bearer prefix automatically when the key does not already start with one. Use X-Api-Key only when your backend deployment requires that header:
HEVN_APP_ID; transfer endpoints derive the owning app from the API key.
Output formats
Human output is optimized for terminal use with Rich tables and panels. For scripts and agents, prefer JSON or YAML. You can set output globally:ok, data, meta, and warnings. Structured error output is wrapped as ok, errorCode, errorType, error, and exitCode.
Automation controls
Use non-interactive mode to refuse prompts and return structuredINTERACTIVE_REQUIRED errors when a required flag is missing:
Debugging
Use--debug to include invocation and curl details in error output: