Environment Variables
Limyrx Studio IDE and OpenCode Server use environment variables for configuration. These can be set system-wide, in a .env file, or in your project settings.
| Variable | Description | Default |
|---|---|---|
OPENCODE_API_KEY | Default API key for the configured provider | - |
OPENCODE_SERVER_PORT | Port for the OpenCode server | 8765 |
OPENCODE_HOST | Host address to bind to | localhost |
LIMYRX_HOME | Data directory for state and config | ~/.limyrx |
Project-level Variables
Set per-project environment variables in the project settings panel or in .opencode.jsonc.