<!-- tempo-docs-context -->
> Source: [/docs/cli](https://tempo.xyz/developers/docs/cli.md)
> Section: [Get Started](https://tempo.xyz/developers/get-started.md). Choose a starting point, send a test payment, get testnet funds, connect a coding agent, find the SDKs and CLI, and use the resource guides to plan payment workflows, liquidity, provider selection, and partner integrations.
> [Documentation index](https://tempo.xyz/developers/llms.txt) · [Docs skill](https://tempo.xyz/developers/SKILL.md)

> Tempo MCP: Use `search`, `find_pages`, `read_page`, and `code` at `https://mcp.tempo.xyz` for Tempo and related documentation.
> If an indexed page is missing or reflects an older site, read this site’s [documentation index](https://tempo.xyz/developers/llms.txt) and Markdown pages directly.

# Tempo CLI

The `tempo` binary works with the Tempo API, Tempo Wallet, paid HTTP requests, and Tempo nodes from your terminal.

<span id="install-the-tempo-cli" />

## Install

```bash [Terminal]
curl -fsSL https://tempo.xyz/install | bash
```

The launcher installs each command's extension the first time you run it. Run `tempoup` to update, and `tempo --version` to check the installed version.

<span id="tempo-cli-commands" />

## Commands

| Command | Use it for |
| --- | --- |
| [`tempo api`](https://tempo.xyz/developers/docs/cli/api) | Signing in to the Tempo API, creating API keys, and calling any endpoint. |
| [`tempo wallet`](https://tempo.xyz/developers/docs/cli/wallet) | Using Tempo Wallet: balances, funding, access keys, service discovery, and payment sessions. |
| [`tempo request`](https://tempo.xyz/developers/docs/cli/request) | Making HTTP requests that pay automatically with [MPP](https://mpp.dev/overview). |
| [`tempo download`](https://tempo.xyz/developers/docs/cli/download) | Downloading chain snapshots for a faster initial node sync. |
| [`tempo node`](https://tempo.xyz/developers/docs/cli/node) | Running a Tempo RPC or validator node. |

<span id="teach-your-agent-to-use-tempo" />

## Set up your agent

Paste this into your AI agent to set up Tempo Wallet CLI and start making paid requests:

:::code-group
```bash [Claude Code]
claude -p "Read https://tempo.xyz/skills/wallet/SKILL.md and set up tempo"
```

```bash [Amp]
amp --execute "Read https://tempo.xyz/skills/wallet/SKILL.md and set up tempo"
```

```bash [Codex CLI]
codex exec "Read https://tempo.xyz/skills/wallet/SKILL.md and set up tempo"
```
:::

See [Let an agent pay for services](https://tempo.xyz/developers/docs/wallet/recipes#let-an-agent-pay-for-services) for the installed skills and spending limits.

## Common flags

Run any command with `--help` to see its flags. Wallet and request extensions also provide `--schema` for JSON command schemas and `--format toon` for compact output. Preview paid requests with `--dry-run` and cap them with `--max-spend`; these payment flags do not apply to node commands.
