Install the TX Agent — Terminal X as a command-line tool that lives in your shell. Same multi-AI routing, same credits, same connectors, plus tools to read/write files and run commands on your machine. Works on macOS, Linux, and Windows.
npm install -g @terminalxapp/cliRequires Node.js 22+. If you don't have it, install from nodejs.org first. On macOS you can also run `brew install node`. If you use nvm: `nvm install 22 && nvm use 22`.
tx loginOpens your browser to authenticate against your terminalxapp.com account. Your credits, sessions, and connectors all sync — there's no separate CLI account.
txStarts an interactive session. Or fire one-shot prompts: `tx "refactor this file to TypeScript"`. The CLI gets the same models, same parser, and same connectors as the web app.
txInteractive session in the current directorytx "<prompt>"One-shot prompt, prints result and exitstx balanceCredits remainingtx logoutClear local credentialstx --helpFull command listIt can read/write files in your current directory, run shell commands you approve, and chain that with the multi-AI router. Web app is best for building artifacts; CLI is best for working inside an existing project.
Three things. (1) Plan mode — for multi-step work the agent drafts a numbered checklist and ticks off steps in real time so you can redirect early. (2) Sub-agents — for parallel research the agent spawns focused workers that run simultaneously (e.g. 'compare 4 libraries' fans out into 4 parallel investigators). (3) Consult panel — one tool call routes your question to Claude, GPT, and Gemini in parallel and synthesizes a recommendation. No other CLI does this.
Yes — the CLI uses the same balance as the web app. Run `tx balance` any time to check.
Every model wired in the web app — Claude, GPT-5, Gemini, Grok, Llama, Qwen, plus image (Flux, Recraft, Ideogram, Nano Banana), audio (ElevenLabs), video (Runway, Pika), and all 30+ connectors.
Auth token in ~/.terminal-x/credentials. Sessions sync to your Supabase like the web app. Nothing in your project directory leaves your machine unless a tool you ran explicitly asked for it.
Hitting an issue? Run tx --debug and email the output to support@terminalxapp.com.