Skip to main content

Switching environments

Any CLI session is bound to an environment.

Default environment

By default, the active environment is the personal environment of the user. Whenever you open a new terminal session, this is environment in use.

You can change this default environment by setting the BATCHX_ENV env-entry.

Switching current environment

You can also change the environment of the active session by using the command bx env, as explained here.