Skip to content

Configuration Reference

SII CLI is configured via environment variables and loads them from ~/.sii/.env by default.

File Location

  • macOS/Linux: ~/.sii/.env
  • Windows: %APPDATA%\sii\.env

You can also export the same environment variables directly in your shell. CLI values in the current session take precedence over the .env file.

.env Example

dotenv
SII_OPENAI_API_KEY=sk-your-key
SII_OPENAI_BASE_URL=https://your.openai.compat.endpoint/v1
SII_OPENAI_MODEL=gpt-4o-mini
SII_USERNAME=someone@example.com
SII_PASSWORD=your-password
SII_BASE_URL=https://www.opensii.ai/backend

Environment Variables

  • SII_OPENAI_API_KEY: API key for an OpenAI-compatible endpoint.
  • SII_OPENAI_BASE_URL: Base URL for that endpoint, such as a self-hosted proxy.
  • SII_OPENAI_MODEL: Default model name to use.
  • SII_USERNAME: SII account username.
  • SII_PASSWORD: SII account password.
  • SII_BASE_URL: Base URL of the SII API (https://www.opensii.ai/backend by default).

Reload your terminal session after editing .env so the CLI can pick up the new values.

Released under the MIT License.