Skip to main content
You can have many environments. Exactly one of them is the default. A sandbox uses the default when you do not name an environment.

Manage environments

  • A delete is a soft delete. Sandboxes pinned to its versions keep running. New sandboxes cannot use it.
  • upgradeEnvironment accepts an optional list of sandbox ids. Use it to upgrade only those sandboxes. Without the list, Boat moves every sandbox of yours that is on an older version. Read Versions and upgrades.

Pick the environment for a sandbox

Pass the environment name when you create, resume or fork a sandbox. Without a name, Boat uses your default.
  • Boat rejects an unknown name before it creates or changes anything. A typo costs you nothing.
  • Boat never creates an environment by itself.
--environment and --env are different flags.
  • --environment staging picks the environment that the sandbox uses.
  • --env KEY=value sets one variable on that one sandbox. It adds to what the environment gives.