devhelm CLI is a full-featured command-line tool for managing monitors, incidents, alert channels, and deploying config-as-code. Install it via npm and authenticate with an API token.
Install
Authentication
The CLI resolves your API token from (in priority order):--api-tokenflag on any commandDEVHELM_API_TOKENenvironment variable- Saved context in
~/.devhelm/contexts.json
Command reference
The CLI ships a wide command surface across resource topics, status pages, deploy/state, and auth. Every list/get command supports--output json for machine-readable output (deploy/validate use text|json instead — see those commands’ references).
Config as Code
Monitors
Incidents
Alert channels
Other resources
Status pages
Full reference:
devhelm status-pages.
Status and auth
Global flags
See Global flags for full details.
Exit codes
See Exit codes for the full taxonomy and CI patterns.
Getting help
Every command supports--help: