RR

resend/resend-cli

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

406 stars 품질 88 트렌드 39MIT

resend/resend-cli는 [[T0]에서 임포트한 에이전트 스킬 후보입니다.

개요

resend/resend-cli는 [[T0]에서 임포트한 에이전트 스킬 후보입니다.

개요(AI 번역)

Resend의 공식 CLI입니다.

인간, AI 에이전트, CI/CD 파이프라인을 위해 만들어졌습니다.

설치

cURL

Node.js

홈브류 (macOS / Linux)

PowerShell (Windows)

또는 GitHub 릴리스 페이지에서 .exe를 직접 다운로드하세요.

퀵스타트

요원 기술

이 CLI는 AI 코딩 에이전트(커서, 클로드 코드, 윈드서프 등)에게 Resend CLI를 효과적으로 사용하는 방법을 가르치는 에이전트 스킬을 함께 제공하며, 비인터랙티브 플래그, 출력 형식, 흔한 함정 등을 포함합니다.

Resend의 전체 플랫폼용 스킬(API, CLI, React 이메일, 이메일 모범 사례)을 중앙 스킬 저장소에서 설치하려면:

지역 개발

CLI를 변경하고 빌드를 로컬에서 실행하고 싶을 때 이 기능을 사용하세요.

전제 조건

  • Node.js 20+

설정

  1. 저장소 복제

  2. **의존성 설치

  3. 지역에서 건설하세요

출력: ./dist/cli.cjs

CLI를 로컬에서 실행 중입니다

개발 스크립트를 사용하세요:

또는 빌드된 JS 번들을 실행하세요:

변화를 만들기

소스 파일을 편집한 후 재구성:

네이티브 이진법 구축

독립형 네이티브 바이너리를 구축하려면:

출력: ./dist/resend


인증

CLI는 다음 우선순위 체인을 사용하여 API 키를 해결합니다:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Resend CLI

The official CLI for Resend.

Built for humans, AI agents, and CI/CD pipelines.

██████╗ ███████╗███████╗███████╗███╗   ██╗██████╗
██╔══██╗██╔════╝██╔════╝██╔════╝████╗  ██║██╔══██╗
██████╔╝█████╗  ███████╗█████╗  ██╔██╗ ██║██║  ██║
██╔══██╗██╔══╝  ╚════██║██╔══╝  ██║╚██╗██║██║  ██║
██║  ██║███████╗███████║███████╗██║ ╚████║██████╔╝
╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝╚═╝  ╚═══╝╚═════╝

Install

cURL

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

Node.js

npm install -g resend-cli

Homebrew (macOS / Linux)

brew install resend/cli/resend

PowerShell (Windows)

irm https://resend.com/install.ps1 | iex

Or download the .exe directly from the GitHub releases page.

Quickstart

# Authenticate
resend login

# Send an email
resend emails send \
  --from "[email protected]" \
  --to [email protected] \
  --subject "Hello from Resend CLI" \
  --text "Sent from my terminal."

# Check your environment
resend doctor

Agent skills

This CLI ships with an agent skill that teaches AI coding agents (Cursor, Claude Code, Windsurf, etc.) how to use the Resend CLI effectively, including non-interactive flags, output formats, and common pitfalls.

To install skills for Resend’s full platform (API, CLI, React Email, email best practices) from the central skills repository:

npx skills add resend/resend-skills

Local development

Use this when you want to change the CLI and run your build locally.

Prerequisites

Setup

  1. Clone the repo

    git clone https://github.com/resend/resend-cli.git
    cd resend-cli
    
  2. Install dependencies

    pnpm install
    
  3. Build locally

    pnpm build
    

    Output: ./dist/cli.cjs

Running the CLI locally

Use the dev script:

pnpm dev --version

Or run the built JS bundle:

node dist/cli.cjs --version

Making changes

After editing source files, rebuild:

pnpm build

Building native binaries

To build a standalone native binary:

pnpm build:bin

Output: ./dist/resend


Authentication

The CLI resolves your API key using the following priority chain:

Priority Source How to set
1 (highest) --api-key flag resend --api-key re_xxx emails send ...
2 RESEND_API_KEY env var export RESEND_API_KEY=re_xxx
3 (lowest) Config file resend login

If no key is found from any source, the CLI errors with code auth_error.


Commands

resend login

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add resend/resend-cli
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →