Send emails with Resend CLI
Prerequisites
Section titled “Prerequisites”Before you start, you'll need:
- A Resend API key
- A verified domain
Install
Bash curl -fsSL https://resend.com/install.sh | bashBash npm install -g resend-cliBash brew install resend/cli/resendpowershell irm https://resend.com/install.ps1 | iexAuthenticate
Bash resend loginSend email
Bash resend emails send \ --from "Acme <onboarding@resend.dev>" \ --to delivered@resend.dev \ --subject "Hello World" \ --text "Sent from my terminal."
Next steps
Section titled “Next steps”CLI Reference
Explore the full command reference, authentication options, and CI/CD examples.