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
listshows configured key names and metadata.setcreates or updates a key.copyprints plaintext values in.envfile format, so you can redirect the output into.env.deleteremoves a key.- Values are stored encrypted in the Console store.
listnever returns secret values.copyexplicitly prints plaintext values. Use it only when you need to export a.envfile.copycan 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 > .envExample output:
OPENAI_API_KEY=sk-example
PROMPT_PREFIX="value with spaces"Related commands
Example Output
$ studio env list
Env 2 configured
OPENAI_API_KEY
scope global
description Shared OpenAI key
TELEGRAM_BOT_TOKEN
scope global