Skip to content
BENIBIX Learn

/remote-env Command

Also known as /remote-env, Cloud environment

It picks the default setup for your cloud sessions.

Think of it like

It is like you pick which kitchen your cook will use when they go out.

Example

Lucy's team has one cloud setup that can reach the test database. She picks it with /remote-env. Now each cloud session she starts can run the tests.

Why it matters

The right environment decides what a cloud session can reach. A wrong one makes tests fail for reasons that are not in the code.

Definition

/remote-env picks the cloud setup your new cloud sessions use when you start them from the command line. The setup decides what the cloud machine gets, such as which sites it can reach and what values it is given. Pick one once. Later cloud sessions use it until you pick another.

Example code

console
/remote-env
Choose the default cloud environment.

Common mistake

Thinking it changes a cloud session that is already running. It sets the default for the next ones you start.

Key takeaways

  1. 1
    A default. For new cloud sessions.
  2. 2
    Sets the machine. Network and variables.
  3. 3
    From the CLI. Sessions you start there.

Learn it properly