Skip to main content
The 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

Verify the installation:

Authentication

The CLI resolves your API token from (in priority order):
  1. --api-token flag on any command
  2. DEVHELM_API_TOKEN environment variable
  3. 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: