Official CLI for Resend
Built for humans and AI agents. Manage your emails from the terminal.
The Resend CLI is an open source project with more than 53 commands across 13 resources.
Install
# cURL
curl -fsSL https://resend.com/install.sh | bash
# Node.js
npm install -g resend-cli
# Homebrew
brew install resend/cli/resend
# PowerShell (Windows)
irm https://resend.com/install.ps1 | iex
Authenticate
$ resend login
# or with API key directly:
$ resend login --key re_xxxxxxxxx
Send emails from the terminal
$ resend emails send \
--from "Acme <hello@resend.dev>" \
--to "user@gmail.com" \
--subject "Hello from the CLI" \
--html "<h1>It works!</h1>"
Manage your entire account
53 commands across 13 resources including Domains, API keys, Contacts, Broadcasts, and Webhooks.
Schedule broadcasts with natural language
$ resend broadcasts send "f47ac10b-..." --scheduled-at "tomorrow morning"
Parses natural language like "in 1 hour" or "next Monday at 3pm".
Switch between teams and accounts
Switch profiles with resend auth switch or use the --profile flag on any command.
CI/CD integration
In interactive terminals: styled tables, spinners, guided prompts. When piped or in CI: structured JSON output.

Fetched May 13, 2026





