Installs ExAthena into your project.
Run once after adding {:ex_athena, "~> 0.4"} to mix.exs, or via Igniter:
mix igniter.install ex_athena
mix ex_athena.installWhat it does
- Writes a
config :ex_athena, default_provider: :ollamadefault toconfig/config.exs(only if no default is already configured). - Writes sensible per-provider defaults for Ollama (base URL pointing at
http://localhost:11434), OpenAI-compatible (https://api.openai.com/v1), and Claude (picks upANTHROPIC_API_KEYfrom env). - Scaffolds
.exathena/.gitignoreso v0.4 runtime artifacts (session JSONL logs, file-history snapshots, worktree cache) aren't accidentally committed. - Does NOT write API keys inline — the installer uses
{:system, "VAR"}tuples so secrets stay in the environment.
Idempotent: re-running preserves whatever you've already set.
Upgrading
From an older version of ex_athena, run:
mix igniter.upgrade ex_athenawhich routes through mix ex_athena.upgrade and applies any
version-specific migrations (e.g. notices about the v0.4
tool-result-split breaking change).