# Connect send.io with your terminal

Run send.io from your terminal with the sendio command: send email, manage domains, templates and contacts, forward webhooks to your laptop and follow logs.

Status: Live. Category: Developer tools.

## What it does

- A command-line tool, `sendio`, for macOS, Linux and Windows.
- Send email, and manage domains, templates and contacts.
- Forward webhooks to your laptop with `sendio listen`, and follow logs with `sendio logs tail`.
- Run a local MCP server with `sendio mcp serve`.
- Agent mode gives scripts and coding agents JSON output and a dry run.

## How it helps

- **Test webhooks on your laptop**: Forward send.io webhooks to a local address while you build the handler.
- **Send from scripts and CI**: Send an email from a script, and wait until it is delivered.
- **Watch what happens**: Follow your logs and events live in the terminal.

## Commands (198)

Every command with its flags is in the [CLI reference](https://app.send.io/docs/cli#reference).

## Connect in 3 steps

### 1. Install

Pick how you install tools. Each method installs the same binary.

`Shell script`

```bash
curl -fsSL https://app.send.io/install.sh | sh
```

`PowerShell`

```text
irm https://app.send.io/install.ps1 | iex
```

`npm`

```bash
npm i -g @sendio/cli
```

### 2. Sign in

Sign in from the terminal. An API key works too.

```bash
sendio login
```

### 3. Send an email

Send a test email to `delivered@send.io`, a test address.

```bash
sendio emails send \
  --from "Acme <hello@yourdomain.com>" \
  --to delivered@send.io \
  --subject "Hello from send.io" \
  --text "It works."
```

## Inside send.io

The CLI uses the same API as the console, so what you send or create from the terminal shows up in the console.

## Outside send.io

In your terminal, in scripts and in CI. The [GitHub Action](https://app.send.io/docs/integrations/github-actions) installs it on a runner.

## Works well with

- [GitHub Actions](https://app.send.io/docs/integrations/github-actions)
- [MCP server](https://app.send.io/docs/integrations/mcp)
- [Agent skills](https://app.send.io/docs/integrations/agent-skills)

## Questions and answers

**Which systems does it run on?**

macOS, Linux and Windows.

**Can I run it without installing?**

Yes, with Node.js: `npx @sendio/cli whoami`.

**Is there a Homebrew formula?**

Not yet. Use the install script, npm or a release binary.

**Can a coding agent use it?**

Yes. `sendio agent setup` installs a skill that tells Claude Code, Codex or Cursor how to use the CLI.
