15. Environment variables and system properties
| Variable / property | Purpose |
|---|---|
COXN_INIT | Name the init.clj path (takes precedence over default locations) |
COXN_LANGUAGE | UI language (takes precedence over LC_ALL / LC_MESSAGES / LANG; init.clj and persisted state override it) |
XDG_CONFIG_HOME | Configuration directory <config> = $XDG_CONFIG_HOME/coxn on Linux/FreeBSD; default ~/.config/coxn; Windows uses %APPDATA%/coxn |
XDG_CACHE_HOME | Cache directory <cache> = $XDG_CACHE_HOME/coxn; default ~/.cache/coxn; Windows uses %LOCALAPPDATA%/coxn. Auto-save, backup, and automatic LSP installation live beneath it |
COXN_DEBUG | When set, enable TUI debug logging |
COXN_NATIVE_PATH | Additional GUI search directory for tree-sitter native libraries (development) |
COLORTERM / TERM / WT_SESSION | Inputs used by :color-depth :auto probing |
-Dcoxn.config.dir / -Dcoxn.cache.dir | Portable installs / tests: point configuration / cache directories elsewhere (no legacy-directory migration is performed) |
-Dcoxn.lsp.auto=false | Change the :lsp-auto default to off |
COXN_JDK | Build-time path to the JDK used by clojure -T:build dist |
Raw Markdown: coxn manual (Markdown) · Installers: coxn product page