Setup in detail
jevlin setup is everything after the binary: it registers you with the search platform, writes your config, puts the command on your PATH, and sets up the coding agents it finds. This page says what each question does and how to answer it without a terminal.
Before it asks anything
Install globally, as the quickstart shows, then run:
jevlin setup
Setup registers with the search platform and stores the key it gets back. There is no key to copy or paste.
What it refuses
Setup refuses to run from an npx cache or a project's node_modules, whose paths would disappear. It also refuses a binary someone else could replace, because your agents' hooks and skills and your PATH will name it:
- one under the temporary directory;
- one where the file, or a directory above it, is owned by another user or writable by every user. The sticky bit is no exception.
A directory its group can write is accepted when that group is your own or one whose members can already become root (admin, wheel, sudo, root), which is how Homebrew's prefix is set up. For any other group, such as Debian's staff on /usr/local, setup prints a warning naming the directory and goes on. On Windows only the temporary-directory rule applies.
To fix a refusal, move the binary somewhere only you can write, such as ~/.local/bin, and run it from there. agents install and agents prefer refuse the same, since they write the same path.
The questions
| it asks | what your answer does |
|---|---|
| Use it? [Y/n] | Only when a previous installation is set aside beside ~/.jevlin. Setup first says where it is and what it holds. Yes brings back your registration, key and claim link, and skips the registration they answer. See Removing and coming back. |
| Add them to ~/.zshrc? [Y/n] | Or the file your shell reads, below. One marked block puts the binary on PATH and sets JEVLIN_CONFIG. No just means longer commands. On Windows it asks Set them for your user? and sets PATH and JEVLIN_CONFIG. |
| Set up the coding agents found on this machine now? [Y/n] | Writes a skill and, where the agent supports them, hooks into its config. You see the plan first, with what made each agent count as present. See Integrations. |
| Switch? [y/N] | Asked only when Codex's config has a setting of your own that its permission profile would change. It shows every line it would write. A bare Enter is no, which sets up the other agents and leaves Codex as it is. See Codex. |
| shell | the profile block goes to |
|---|---|
| zsh | ~/.zshrc |
| bash on macOS | the first of ~/.bash_profile, ~/.bash_login and ~/.profile that exists (~/.bash_profile, created, when none does), or ~/.bashrc when that file already sources it |
| bash on Linux | ~/.bashrc |
| fish | ~/.config/fish/config.fish, in fish syntax |
| any other | nothing: setup prints the lines |
For an npm install the directory put on PATH is npm's global bin directory. Setup then prints one command that makes the terminal you are in find jevlin now; a terminal opened afterwards needs nothing. To undo the block, delete it from # >>> jevlin >>> to # <<< jevlin <<<.
Only an answer you typed counts. Interrupt a question, or close its input, and setup stops there with a non-zero exit, recording and writing nothing. The same holds for Codex's Switch? and uninstall's confirmations: a typed no exits 0, no answer exits non-zero. Since 0.8.3, agents install with stdin from /dev/null (NUL on Windows) does not ask Proceed? of nobody: it takes the path a run with no terminal takes, as setup and uninstall already did.
Answering without a terminal
| flag | effect |
|---|---|
-yes | Answers yes to the profile and agents questions, terminal or not. Answers Use it? only at a terminal. Never answers Codex's Switch?. Without -yes or a terminal, setup leaves the profile and agents alone and prints the command for each. An agent that could not be set up is reported, and setup still exits 0. |
-dry-run | Lists every file it would write or move, and changes nothing. |
-no-profile | Leaves the shell profile (Windows: user environment) alone, even with -yes. |
-no-agents | Skips agent detection, even with -yes. -with still sets up what it names. |
-with <id> | Sets up claude, codex, cursor, opencode, pi or hermes, found or not. Repeatable. |
-home <dir> | A separate installation in that directory. It leaves your profile and agents alone, even with -yes, and prints the jevlin agents install -config command for it. |
The claim link
Once the config is written, and before the shell profile, setup prints a link where you claim your agent on platform.jevlin.ai, and waits up to three minutes for you to visit it, saying so. If the link does not open, type the printed code (case and the hyphen do not matter) at /claim on the same site. You need not do it then: search already works, on the fast tier within a daily cap that jevlin limits shows, and using an agent later finishes the claim on its own.
Ctrl-C during the wait ends setup there, before its environment and coding agents steps; run setup again to finish them, with the same agent and key. A jevlin connect run on its own waits the same way, and Ctrl-C there only stops the wait. When setup or jevlin connect sees the claim, it says so and names the two tiers the claim opened, balanced and max, with the commands that choose one: jevlin agents tier <tier>, or /jevlin tier <tier> in your agent. Searches stay on the fast tier until you choose. jevlin status reads only the record on this machine, so it says unclaimed until a search or jevlin connect has recorded the claim.
The link is kept in ~/.jevlin/claim.json, beside your stored key, and only for the agent it was issued to. An interrupted registration is finished on the next run, never registered twice. A lost or damaged local record is rebuilt from the platform. A lost claim link is replaced: for a registration that is still unclaimed, a foreground jevlin connect asks the platform for a fresh link and prints it. The old code is dead the moment a new one is minted, which is why only a connect you run does this, never a background resume.
jevlin connect # re-run onboarding by hand, print the claim link
jevlin connect -force # replace the credential; only when the platform no longer recognizes the key
Run -force only on purpose. See Troubleshooting.
Then check
jevlin status # what this installation has and has not completed
jevlin agents status # which agents are set up, and how each was found
jevlin doctor # one line per check
jevlin search -format model "what is proof of authority consensus"
A Claude Code session already open picks up the skill and hooks; restart any other agent that was already open. Setup's closing message names which.
Running setup again
Nothing needs removing first: update the binary, then run jevlin setup. It keeps your identity and key, and lets connect finish or repair its own onboarding. It updates its profile block and agent files in place, reporting one already correct as "nothing to write: already set up".
For an installation elsewhere, set JEVLIN_HOME to it; setup has no other way to find it. setup -home <dir> alone makes a separate installation. For a clean start, move ~/.jevlin aside; see Removing and coming back.
What setup writes
| path | what |
|---|---|
~/.jevlin/jevlin.toml | The config, in configuration format 1. One already in that format is left byte for byte; one with a mistake in it stops setup with the error. One from an older jevlin, with no schema line, is set aside as jevlin.toml.old and a fresh one written, your registration and key kept. See Configuration. |
~/.jevlin/credentials.json | The search key, owner-only. |
~/.jevlin/claim.json | The claim link, while the agent is unclaimed. |
~/.jevlin/state/, sessions/ | The agent registration and trace key, and lineage files. See Files and locks. |
| your shell profile | One block between # >>> jevlin >>> and # <<< jevlin <<<. |
| each agent's config | A skill and hooks; see the agent's page under Integrations. |