Skip to main content

Environment variables

Every variable a jevlin command or the npm wrapper reads. Setup's profile block sets JEVLIN_CONFIG; the npm wrapper and the hooks set the last ones, and you never do.

variableread byeffect
JEVLIN_CONFIGevery commandThe config file, after -config. Setup's profile block sets it.
JEVLIN_HOMEevery command, setupThis machine's installation directory, instead of ~/.jevlin.
JEVLIN_API_KEYsearch, limits, the turn end, fetch, decideThe search key, overriding credentials.json. With a -config that is not the installation's own file, it is sent only when that config names the installation's router; to use another router, set JEVLIN_CONFIG to its config. Without a key from here or credentials.json, the turn end is not sent.
JEVLIN_TRACEsearch, hooksoff turns the trace and the turn end off entirely: the hooks write no bridge and no lineage file, and search sends none.
JEVLIN_ROUTER_URL, JEVLIN_PLATFORM_URL, JEVLIN_AGENTS_API_URLevery command, setupEach replaces its URL for the run, after the file and under the same rules; setup also writes them into a fresh config. See Configuration.
JEVLIN_BINARY, JEVLIN_SKIP_DOWNLOADnpm wrapperUse a binary already on the machine; install without fetching.
JEVLIN_LAUNCHsetup, upgrade, uninstall, doctorSet by the npm wrapper, so the binary knows npm owns it. You do not set it.
JEVLIN_TRACE_BRIDGEsearchThe trace envelope an agent's hook put in front of the command. Written by the hooks.
JEVLIN_HARNESS, JEVLIN_LINEAGE, JEVLIN_SESSIONsearchExported by Cursor's hooks: the agent, its lineage file and its hashed session.

JEVLIN_LAUNCH, JEVLIN_TRACE_BRIDGE and the three Cursor variables are written by the npm wrapper and the hooks; you do not set them. JEVLIN_HARNESS is also read by jevlin mcp, where the host's environment sets it.

The profile lines setup writes are one block between # >>> jevlin >>> and # <<< jevlin <<<; delete it to undo them. What JEVLIN_TRACE=off leaves out is on What leaves the machine.