---
title: "Resend CLI 2.0"
slug: resend-cli-2
description: "Skills for AI agents, React Email support, Automations, and Webhook listening. All from the terminal."
created_at: "2026-04-15"
updated_at: "2026-04-15"
image: "https://cdn.resend.com/posts/resend-cli-cover.jpg"
humans: ["felipe-freitag", "vitor-capretz", "zeno-rocha"]
category: "product"
featured: true
---

The Resend CLI gives you **access to the full Resend API** without leaving your terminal.

Today, we're shipping **version 2.0**, including **four new powerful features**:

- [Send emails using local React files](#send-emails-using-local-react-files)
- [Automations and events](#automations-and-events)
- [Webhook listening](#webhook-listening)
- [Skills for AI agents](#skills-for-ai-agents)

<video
  src="https://cdn.resend.com/posts/resend-cli.mp4"
  poster="https://cdn.resend.com/posts/resend-cli-poster.jpg"
  controls
  className="extraWidth"
/>

## Get started

Install the CLI and log in to get started:

**cURL**

```sh
curl -fsSL https://resend.com/install.sh | bash
```

**Node.js**

```sh
npm install -g resend-cli
```

**Homebrew (macOS / Linux)**

```sh
brew install resend/cli/resend
```

Or download the `.exe` for Windows directly from the [GitHub releases page](https://github.com/resend/resend-cli/releases/latest).

## Send emails using local React files

Since version 1.0, you could use local `.html` files to send emails from your local machine. Now, you can use local React Email files (`.tsx` or `.jsx`) to send emails as well.

<video src="https://cdn.resend.com/posts/resend-cli-react-email.mp4"
autoPlay
loop
muted
playsInline
className="extraWidth" />

## Automations and events

You can now manage [Automations](/docs/dashboard/automations/introduction) directly from the CLI. Create events, trigger automation runs, and inspect results, all in one place.

```bash
resend automations list
resend event-schemas create
```

Build and debug multi-step workflows against your own data, without leaving your terminal.

<video src="https://cdn.resend.com/posts/resend-cli-automations.mp4"
autoPlay
loop
muted
playsInline
className="extraWidth" />

## Webhook listening

Setting up a local webhook listener used to require a tunneling tool and manual configuration. Now it's a single command.

```bash
resend webhooks listen
```

The CLI handles the tunnel and forwards incoming events to your local server. Every [webhook event type](/docs/dashboard/webhooks/introduction) is supported, making it straightforward to develop and test event-driven features locally.

<video src="https://cdn.resend.com/posts/resend-cli-webhooks-listen.mp4"
autoPlay
loop
muted
playsInline
className="extraWidth" />


## Skills for AI agents

The CLI now ships with Agent Skills. Skills give your agents an opinionated, well-defined interface for interacting with the Resend API. Skills help your agents follow best practices, avoid unnecessary API calls, and stay on task.

<video src="https://cdn.resend.com/posts/resend-cli-skills.mp4"
autoPlay
loop
muted
playsInline
className="extraWidth" />

With the CLI, an agent can have its own inbox. It can sign up for accounts, receive confirmation emails, process attachments, and respond to users without your manual intervention.

## Other changes

We've also made a few other improvements to the CLI.

Now, you can programmatically [retrieve and inspect logs](/docs/api-reference/logs/list-logs) from the command line so you can debug and monitor your email events without leaving your terminal. The CLI access also means your agent can help debug and fix issues without your intervention.

We've also **improved the security** of the CLI's key storage. Now, when you create a new API key, it's stored in your system's keychain:

- macOS: Keychain
- Linux: Secret Storage
- Windows: Windows Credential Manager

Finally, we've deprecated the `team` command in favor of the new `auth` command.

Visit the [CLI docs](/docs/cli) to explore all 50+ commands across the full Resend API.