Manage environments from the command line. Create and configure deployment stages for your monitors.
Commands
| Command | Description |
|---|
devhelm environments list | List all environments |
devhelm environments get <slug> | Get environment details |
devhelm environments create | Create an environment |
devhelm environments update <slug> | Update an environment |
devhelm environments delete <slug> | Delete an environment |
Environments are identified by slug (e.g., production, staging), not numeric ID.
environments list
devhelm environments list
| Flag | Type | Default | Description |
|---|
--page-size | integer | 200 | Number of items per API request (1–200) |
environments get
devhelm environments get production
environments create
devhelm environments create --name "Production" --slug production --default
| Flag | Type | Required | Description |
|---|
--name | string | Yes | Human-readable environment name |
--slug | string | Yes | URL-safe identifier (lowercase, hyphens) |
--default / --no-default | boolean | false | Mark this environment as the workspace default (exactly one allowed) |
environments update
devhelm environments update staging --name "Staging (US)" --no-default
| Flag | Type | Description |
|---|
--name | string | New environment name |
--default / --no-default | boolean | Promote/demote default environment status |
environments delete
Prompts for confirmation; pass --yes (-y) in scripts and CI.
devhelm environments delete staging
Next steps
Secrets
Scope secrets to specific environments.
Multi-environment config
Manage per-environment YAML files.