Cremind
Setup & Configuration

Environment Variables

Reference for the environment variables Cremind reads — system and working directories, UI and server settings, ports, and the CLI token.

Cremind reads a small set of environment variables to locate its files, point the CLI at the right server, and configure the UI listener. The table below lists the variables known today; this page is being expanded and cross-checked against the source before it is treated as exhaustive.

VariablePurpose
CREMIND_SYSTEM_DIRCremind's internal system directory (default ~/.cremind).
CREMIND_INSTALL_DIRWhere the Cremind install lives.
CREMIND_WORKING_DIROverrides the base working directory (used for side-by-side staging installs).
CREMIND_UI_PORTPort the SPA/UI listener binds to. Set to 0 to disable the listener (e.g. when an external nginx serves the SPA).
CREMIND_UI_DIRPath to the built SPA directory to serve.
CREMIND_SERVERURL the cremind CLI talks to (default http://localhost:1112).
CREMIND_TOKENThe admin/profile JWT the CLI authenticates with.

Default ports

PortService
1112API / backend
1515UI (SPA)
6080VNC (Docker-mode desktop, at /vnc.html)

Documentation in progress

This page is still being written and cross-checked against the source. The variables above are confirmed, but the full set Cremind reads — and the precise default of each — is being verified. In the meantime, see the install reference and source on GitHub: cremind-ai/cremind. For the env vars injected into agent-spawned shells specifically, see the cremind system-vars CLI reference. To set server-wide, non-secret configuration instead, use Server-wide configuration.

On this page