Tempr CLI · Beta

Your agent, in the terminal.

The same bring-your-own-key agent you use in your IDE, now on the command line. Fire a one-shot prompt at your repo, drop into an interactive REPL, or pipe it into a script — with the same models, personas, and provider keys as Tempr Chat.

Get started Read the docs

1 licenseIDE, terminal & API — one account
3 ways to runone-shot, REPL & piped
BYOKsame provider allowlist as Chat
tempr
~ $ tempr "add input validation to PaymentRequest.cs"
● read_file PaymentRequest.cs
● edit_file PaymentRequest.cs
● run_command dotnet build
✔ validation added — build green
~ $ tempr
> @debugger why does CheckoutTests fail █

Everything the IDE agent does, where you already work

A real tool-calling loop — not a chat wrapper. It reads and edits files, runs commands, and semantic-searches your codebase, all from the shell.

One-shot agent turns

tempr "fix the failing test in CartService" runs a full agent turn with real tool-calling — file read/write/edit, run_command, and semantic search — then hands the terminal back to you.

A real REPL

Run tempr bare for an interactive session with persistent cross-session history, proper line editing on every OS, and tab-completion for /commands and @personas.

Pipes & headless mode

Feed it stdin and read stdout: { echo "what's failing?"; cat error.log; } | tempr works like any other Unix tool, so you can script it into builds, cron jobs, and pipelines.

Specialist personas

The same named personas as the IDE: tempr "@debugger why does this fail" scopes the prompt and tool set to a specialist. @test, @review, @security, and the rest of the lineup work too.

MCP in the terminal

tempr mcp add connects the same Model Context Protocol servers you use in the IDE, so your custom tools and data sources follow you to the shell.

Same BYOK providers

Your key, your model — the full supported-provider allowlist (OpenAI, Anthropic, Google, OpenRouter, and more) works exactly as it does in Tempr Chat.

Runs on your existing license

No separate subscription. Sign in with the license key you already use — Standard, Pro, Teams, or a seat that comes with Gateway Pro or Scale — and the CLI is another surface on the same account.

Cross-platform & resilient

Self-contained builds for Windows, macOS, and Linux, on x64 and Arm64 — no runtime to install. The agent loop runs server-side like the IDE, so a flaky connection doesn't kill a long turn.

See it in action

The CLI itself, and what a terminal run leaves behind in the Portal — every agent turn is traced, costed, and searchable after the fact.

Real tempr sessions on a demo project, and the runs they left in the Portal.

Capabilities at a glance

Everything the CLI can do, and the exact invocation for each — the same agent, models, and personas as the IDE.

CapabilityHow you use it
One-shot agent turn with full tool-callingtempr "fix the failing test in CartService"
Interactive REPL — persistent history, tab-completiontempr, then /help
Headless / piped mode{ echo "review this:"; git diff; } | tempr
Plain chat, no toolstempr --ask "…"
Specialist personastempr "@debugger why does this fail"
Per-run model overridetempr -m <id> "…"
Run unattended: edits and allow-listed commands without askingtempr -y "…"
Resume a saved sessiontempr --id <SESSION_ID> "continue", or tempr -c for this folder's last one
See and undo what the last turn changed/diff, /undo in the REPL
Machine-readable event streamtempr --json "…" — one event per line, then a result object
Token usage and cost per turntempr --verbose
Local cost by modeltempr usage
MCP serverstempr mcp add / tempr mcp browse / tempr mcp list
Files, whitelisted commands, semantic search, symbols, tests, diagnosticsBuilt into every agent turn
Sub-agent delegationAutomatic — the agent hands sub-tasks to personas mid-turn
Cross-platformSelf-contained builds — Windows, macOS, Linux, on x64 and Arm64

All of it on your existing Chat license, or a seat on your Gateway plan — no separate subscription. Full command details in the command reference.

Up and running in a minute

1. Install

One line, nothing needed first — the download is self-contained.

macOS and Linux

curl -fsSL https://temprhq.io/cli/install.sh | sh

Windows (PowerShell)

irm https://temprhq.io/cli/install.ps1 | iex

Or download a build directly, or use npm, Homebrew, Scoop or NuGet.

2. Sign in

Authenticate once with your Tempr license key — the same one you use in the IDE:

tempr auth

3. Add a key, pick a model

Add your own key for a provider, then set a default model; override it per-prompt whenever you like:

tempr keys add
tempr config set-model <id>

4. Put it to work

One-shot a task, or open the REPL:

tempr "explain this repo"
tempr
CommandDoes
tempr "<prompt>"One-shot agent turn with real tool-calling
temprInteractive REPL with persistent history and tab-completion
<something> | temprHeadless/piped mode — reads the prompt from stdin, prints to stdout
tempr --ask "<prompt>"Plain chat, no tools
tempr "@debugger <prompt>"Run a specialist persona
tempr configManage settings and your default model
tempr historyBrowse saved sessions
tempr mcpAdd, list, and manage MCP servers
tempr doctorCheck connectivity and diagnose your setup

Run tempr --help for the full command reference — or read it in the CLI docs, including the scripts, pipes & CI guide.

Direct downloads

Every build is self-contained — no .NET runtime required. These links always serve the current release; each has a .sha256 beside it to check the download against.

Package managers

The same release, through a tool you already use. Update it the same way you installed it — tempr update tells you which.

Package managerInstall
npm Windows, macOS, Linuxnpm i -g @tempr/cli
Homebrew macOS, Linuxbrew tap chrissalomon/tempr
brew trust chrissalomon/tempr
brew install tempr
Scoop Windowsscoop bucket add tempr https://github.com/chrissalomon/scoop-tempr
scoop install tempr
NuGet .NET global tooldotnet tool install -g Tempr.Cli — needs the .NET SDK

Same keys, same models

The same ~30-provider allowlist as Tempr Chat — your key, your model, straight from the terminal. A few of the most popular:

OpenAIOpenAIFirst-party
AnthropicAnthropicFirst-party
Google GeminiGoogle GeminiFirst-party
DeepSeekDeepSeekFirst-party
xAIxAIFirst-party
MistralMistralFirst-party
Meta AIMeta AIFirst-party
CohereCohereFirst-party
OpenRouterOpenRouterAggregatorChat & CLI
Together AITogether AIInference
Fireworks AIFireworks AIInference
Hugging FaceHugging FaceInference

View all providers & models →

No separate subscription

The CLI runs on your existing Tempr Chat license — the same account, provider keys, and models you already use in the IDE. Every paid plan includes a 7-day free trial, and the CLI comes with all of them.

$15 / moStandard — CLI included
$20 / moPro — CLI included
From $35 / seatTeams — CLI included

See Chat pricing — CLI included

CLI FAQ

The questions specific to the terminal. Account, licensing, and provider questions live on the general FAQ page.

Nothing. The Windows, macOS, and Linux builds are self-contained, so curl -fsSL https://temprhq.io/cli/install.sh | sh (or irm https://temprhq.io/cli/install.ps1 | iex on Windows) is all it takes — there's no runtime to install first. You can also download a build directly and put tempr on your PATH.

Yes — it drives the same tool set as the IDE: file read, write, and edit, run_command, and semantic code search. It's a real agent loop, not a chat wrapper.

Yes. Piped mode reads the prompt from stdin and writes to stdout like any other command-line tool — { echo "review this:"; git diff; } | tempr — and --json, -y, and TEMPR_LICENSE_KEY cover unattended runs, so you can drop it into scripts, build steps, and scheduled jobs.

The same built-in lineup as the IDE — @debugger, @test, @review, @security, and the rest — invoked as tempr "@debugger why does this fail". Tab-completion in the REPL lists them all.

Also on your account

Same agent, same keys, same login — wherever you're working.