# Environment

The variables the daemon reads.

Source: https://salidium.com/docs/environment

- **`SALIDIUM_HOME`**: Where state lives. Defaults to `~/.salidium`.
- **`SALIDIUM_PORT`**: The loopback port. Defaults to `47822`.
- **`SALIDIUM_HISTORY_DAYS`**: How far back to import session files. Defaults to `7`. Must be a whole number, and the daemon refuses to start on anything else.
- **`SALIDIUM_EXPLAINER`**: `auto`, `claude`, `codex` or `off`. Chooses the backend, and only `off` outranks the setting in the page.
- **`SALIDIUM_EXPLAIN_MODEL`**: A model id for the explainer, instead of its default.
- **`SALIDIUM_NO_GIT`**: Set to `1` to stop the git snapshots.
- **`SALIDIUM_LOG`**: `silent`, `info` or `debug`. Defaults to `info`.
- **`SALIDIUM_LOG_FILE`**: Where the structured log is written. The CLI sets it when it starts the daemon.
- **`SALIDIUM_EXPLAIN`**: Set to `0` to switch explanations off. The older spelling of `SALIDIUM_EXPLAINER=off`.
- **`CLAUDE_CONFIG_DIR`**: Where Claude Code keeps its settings. Defaults to `~/.claude`.
- **`CODEX_HOME`**: Where Codex keeps its state. Defaults to `~/.codex`.
