Installation
- cURL
- npm
- Homebrew
- PowerShell (Windows)
Quick start
Agent Skills
The Resend CLI includes built-in Agent Skills that help AI agents understand how to use the CLI effectively. Install the skill using the following command:message and code field.
Local development with webhooks
The CLI has a built-inwebhooks listen command that handles everything for local development: it starts a local server, registers a temporary webhook, streams incoming events to your terminal, and cleans up when you exit.
Prerequisites
- Resend CLI installed and authenticated (
resend login) - A verified domain with receiving enabled
- Tailscale installed and connected
Expose the local port with Tailscale Funnel
webhooks listen runs on port 4318 by default. Expose that port publicly:https://hostname.tailnet-name.ts.net.Start listening for webhook events
--events flag. The all event type is also available to listen to all events.Ctrl+C).