15. Environment variables and system properties

Variable / propertyPurpose
COXN_INITName the init.clj path (takes precedence over default locations)
COXN_LANGUAGEUI language (takes precedence over LC_ALL / LC_MESSAGES / LANG; init.clj and persisted state override it)
XDG_CONFIG_HOMEConfiguration directory <config> = $XDG_CONFIG_HOME/coxn on Linux/FreeBSD; default ~/.config/coxn; Windows uses %APPDATA%/coxn
XDG_CACHE_HOMECache directory <cache> = $XDG_CACHE_HOME/coxn; default ~/.cache/coxn; Windows uses %LOCALAPPDATA%/coxn. Auto-save, backup, and automatic LSP installation live beneath it
COXN_DEBUGWhen set, enable TUI debug logging
COXN_NATIVE_PATHAdditional GUI search directory for tree-sitter native libraries (development)
COLORTERM / TERM / WT_SESSIONInputs used by :color-depth :auto probing
-Dcoxn.config.dir / -Dcoxn.cache.dirPortable installs / tests: point configuration / cache directories elsewhere (no legacy-directory migration is performed)
-Dcoxn.lsp.auto=falseChange the :lsp-auto default to off
COXN_JDKBuild-time path to the JDK used by clojure -T:build dist

Raw Markdown: coxn manual (Markdown) · Installers: coxn product page