skip to content
ccdocs

cc env

Manage environments for a project.

Usage

cc env [action] [target]

Actions

ActionDescription
list (default)List environments for the active project
addAdd a new environment to a project
removeRemove an environment
editEdit an existing environment

Examples

cc env                      # list environments for active project
cc env list acme            # list environments for 'acme'
cc env add acme             # add a new environment to 'acme'
cc env remove               # interactive picker to remove an environment
cc env edit                 # interactive picker to edit an environment

Edit Options

When editing an environment, you can update:

  • Name — rename the environment
  • Database — change the linked PostgreSQL database
  • Modules — update the module list (used for -u in launch config)

On this page