Skip to content
EN

Environment Variables

Varin reads these environment variables at startup. For startup services, varin startup enable snapshots the current environment by default, so rerun it after changing variables you want the service to use.

These variables configure the Application Host and platform services. Configure model accounts in Settings → Model channels; changing the data directory does not import or migrate an existing store.

Bind address for the Varin web server. Use 0.0.0.0 to allow access from other machines.

Password for the browser UI. Use this when binding outside localhost, using tunnels, or running behind a reverse proxy.

Starts Varin in headless mode when set to true or 1. API routes stay available for desktop and mobile clients, but the browser UI is not served.

Overrides the Varin data directory. Defaults: Linux uses $XDG_CONFIG_HOME/varin (or ~/.config/varin); macOS uses ~/Library/Application Support/Varin; Windows uses %APPDATA%/Varin.

Controls API response compression. Use true or 1 to force it on, false or 0 to force it off.

Disables API response compression when set to true or 1. This takes precedence over VARIN_COMPRESS_API.

Enables verbose HTTP request logs when set to true or 1.

Overrides the update-check API endpoint. Most users should leave this unset.

Forces the package manager used by update operations when auto-detection is wrong.

Shell executable used for Varin terminal sessions.

Git executable used by Varin Git features.

Alternative Git executable override. Prefer VARIN_GIT_BINARY for Varin-specific configuration.

API key used by Varin voice features that call OpenAI-compatible services.

Allows remote OpenAI-compatible base URLs for voice features when set to true or 1.

ngrok auth token used by Varin tunnel commands. You can also configure ngrok with ngrok config add-authtoken <token>.

ws:// or wss:// endpoint of the Private Relay the server connects out to for Anywhere pairing. Varin has no default relay: without this variable, Anywhere is unavailable and the server never connects to a relay. Give varin connect-url --relay the same value.

Bun executable Varin should use when spawning daemon processes.

Bun installation root. Varin uses it to find bin/bun for daemon startup and updates.