Downcity
Commands

studio env

Manage Console Env entries with list, set, copy, and delete operations

studio env

studio env manages Console Env entries.

Usage

studio env list [--json]
studio env set <key> <value> [--description <text>] [--json]
studio env copy
studio env delete <key> [--json]

Behavior

  • list shows configured key names and metadata.
  • set creates or updates a key.
  • copy prints plaintext values in .env file format, so you can redirect the output into .env.
  • delete removes a key.
  • Values are stored encrypted in the Console store.
  • list never returns secret values.
  • copy explicitly prints plaintext values. Use it only when you need to export a .env file.
  • copy can only run from the local CLI. It is blocked inside an agent shell.
  • Current versions only manage Console-global env.

Export .env

studio env copy > .env

Example output:

OPENAI_API_KEY=sk-example
PROMPT_PREFIX="value with spaces"

Example Output

$ studio env list
Env                                                2 configured
  OPENAI_API_KEY
    scope         global
    description   Shared OpenAI key
  TELEGRAM_BOT_TOKEN
    scope         global