ev env
Usage
Description
ev env manages the environments within your project. Environments are independent slots for secrets — typically dev, staging, and prod, but you can create as many as you need.
ev env
Running ev env with no subcommand lists all environments for the current project:
ev env create
Creates a new environment. The environment starts empty — use ev push or ev promote to populate it.
ev env delete
Deletes an environment and all its releases. This is irreversible. ev asks for confirmation and requires you to type the environment name:
Examples
List all environments:
Create a staging environment:
Create a preview environment for a feature branch:
Delete an environment after a feature is merged: