Skip to main content
Your coding agent runs these for you. Run runinfra help for the exact options in your version.

Install

Node.js 22 or newer:
Or Python 3.8 or newer:
Check with runinfra update --check, then update with runinfra update.

Commands

Use the separate command’s name for model, key and disconnect commands. Disconnect does not sign this computer out.

Connect options

Omit --funding when no Coding plan can pay. See Choose how to pay.

Good to know

--json prints one document on stdout. File and key changes need a reviewed plan and approval. Scripts exit 8 until you repeat with --yes; plan purchases use browser approval. Only connect, keys rotate, doctor --verify and models sync --verify send paid checks. Files live in ~/.config/runinfra ($XDG_CONFIG_HOME/runinfra when set; %LOCALAPPDATA%\runinfra on Windows). RUNINFRA_CONFIG_DIR changes that path. Only step-by-step terminal setup adds a separate command’s folder to PATH, after your yes.

Exit codes

Terminal app

Run runinfra in your terminal. Pick an agent it found, then a separate command you can rename or Inside Claude Code or Codex. Sign in through your browser, read the short review, and press Enter. The same screens manage keys and sign-out.