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.
| variable | read by | effect |
|---|---|---|
JEVLIN_CONFIG | every command | The config file, after -config. Setup's profile block sets it. |
JEVLIN_HOME | every command, setup | This machine's installation directory, instead of ~/.jevlin. |
JEVLIN_API_KEY | search, limits, the turn end, fetch, decide | The 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_TRACE | search, hooks | off 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_URL | every command, setup | Each 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_DOWNLOAD | npm wrapper | Use a binary already on the machine; install without fetching. |
JEVLIN_LAUNCH | setup, upgrade, uninstall, doctor | Set by the npm wrapper, so the binary knows npm owns it. You do not set it. |
JEVLIN_TRACE_BRIDGE | search | The trace envelope an agent's hook put in front of the command. Written by the hooks. |
JEVLIN_HARNESS, JEVLIN_LINEAGE, JEVLIN_SESSION | search | Exported 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.