Skip to main content

Install the CLI

This puts the truecourse command on your PATH; every example in these docs uses it. Prefer not to install globally? Run any command one-off with npx truecourse <command> instead.

Prerequisites

Analyzing a repo that contains C# without the Roslyn host fails fast with a build-the-host message. There is deliberately no tree-sitter-only fallback, since a silent half-analysis is worse than a clear error.

First run: the LLM choice

The very first truecourse command you run, whichever it is, asks once and saves the answer:
Claude Code saves the choice and continues into your command. API walks provider → model → API key → optional fallback model and base URL, then makes one live call to prove the configuration works; a configuration that fails its probe is never saved. In a non-interactive shell (CI, scripts, git hooks) nothing is asked and nothing is written: Claude Code stays the default. Change the selection any time with truecourse config llm setup.

What gets created

No setup step and no database: the first truecourse analyze (or spec scan) creates .truecourse/ in your repo and stores everything there as plain JSON files. A few of those files are committable and travel with the repo through git; the rest are local-only and added to .truecourse/.gitignore automatically. See Storage for the full layout.

Next steps

Quickstart

First analysis and first guard cycle.

LLM transport

Claude Code vs provider API, credentials, and per-run overrides.