Quickstart

Tern uses a lightweight local CLI to connect to your codebase. Run this in your repo:

curl -fsSL https://tern.sh/install.sh | bash
tern connect

After getting you signed in, you’ll see something like this:

onboarding

From here, you’ll:

  1. Confirm the agent connection (the app pings your local agent).
  2. Paste an API key for Anthropic, OpenAI, or Gemini.
  3. Verify repo access.

(Didn’t run tern connect from a repo? Want to work with multiple repos?
Run tern repo add /path/to/repo at any time.)

That’s it! Go ahead and start planning.