List all components maintained by the workspace and their corresponding envs
$bit envs
Copiedcopy
$bit env
Copiedcopy

list

list all envs currently used in the workspace

$bit envs list
Copiedcopy

get

show config information from a component's env

$bit envs get <component-name>
Copiedcopy

Options

OptionOption AliasDescriptionValue Type
--services-show information about the specific services only. for multiple services, separate by a comma and wrap with quotesstring

set

Assigns one or more components a development environment (env)

$bit envs set <component-pattern> <env>
Copiedcopy

unset

un-sets an env from components that were previously set by "bit env set" or by a component template

$bit envs unset <component-pattern>
Copiedcopy

replace

replace an existing env with another env for all components using the old env

$bit envs replace <current-env> <new-env>
Copiedcopy

update

update a version of an env for all components using that env

$bit envs update [env-id] [pattern]
Copiedcopy