dev, staging, production) within a Flash app.
Command
Subcommands
env list
Show all available environments for an app.Command
Example
Flags
Flash app name. Auto-detected from current directory if not specified.
Output
env create
Create a new deployment environment.Command
Example
Arguments
Name for the new environment (e.g.,
dev, staging, production).Flags
Flash app name. Auto-detected from current directory if not specified.
Notes
- If the app doesn’t exist, it’s created automatically.
- Environment names must be unique within an app.
- Newly created environments have no active build until first deployment.
You don’t always need to create environments explicitly. Running
flash deploy --env <name> creates the environment automatically if it doesn’t exist.env get
Show detailed information about a deployment environment.Command
Example
Arguments
Name of the environment to inspect.
Flags
Flash app name. Auto-detected from current directory if not specified.
Output
env delete
Delete a deployment environment and all its associated resources.Command
Examples
Arguments
Name of the environment to delete.
Flags
Flash app name. Auto-detected from current directory if not specified.
Process
- Shows environment details and resources to be deleted.
- Prompts for confirmation (required).
- Undeploys all associated endpoints.
- Removes all associated network volumes.
- Deletes the environment from the app.
Environment states
Common workflows
Three-tier deployment
Feature branch testing
Related commands
flash deploy- Deploy to an environmentflash app- Manage applicationsflash undeploy- Remove specific endpoints