nylas init — 첫 번째 Nylas CLI 사용자를 위한 가이드 설정 마법사
발행: (2026년 5월 1일 AM 06:10 GMT+9)
2 분 소요
원문: Dev.to
Source: Dev.to
Overview
Nylas CLI를 처음 사용하시나요? nylas init가 모든 시작점입니다.
이 명령은 Nylas CLI 설정을 네 단계로 안내합니다:
- Nylas 계정을 만들거나 로그인하기
- 애플리케이션 선택 또는 생성하기
- API 키 생성하기
- 연결된 이메일 계정 동기화하기
이미 API 키가 있다면 --api-key를 전달하여 대화형 마법사를 건너뛸 수 있습니다.
nylas init [--api-key KEY] [--region us|eu] [--google|--microsoft|--github]
Interactive guided setup
nylas init
- Step 1: 계정 만들기 또는 로그인
- Step 2: 애플리케이션 선택 또는 생성
- Step 3: API 키 생성
- Step 4: 이메일 계정 동기화
Quick setup with an existing API key
nylas init --api-key nyl_abc123
Quick setup for the EU region
nylas init --api-key nyl_abc123 --region eu
Start with Google SSO
nylas init --google
Environment detection
마법사는 현재 환경을 감지하고 가장 빠른 CLI 설치 경로를 선택합니다:
- macOS: 자격 증명 저장에 Keychain 사용
- Linux: Secret Service 사용
- Docker/CI: 암호화된 파일 저장으로 대체
Help and machine‑readable output
nylas init --help
JSON 출력을 원한다면 --json을 추가하세요 — jq에 파이프하거나 스크립트에 데이터를 전달할 때 유용합니다.
Common issues
- “non-interactive mode requires —api-key”
- SSO 브라우저 창이 열리지 않음
- API 키 검증 실패
Further reading
- Full documentation: nylas init reference — all flags, advanced examples, and troubleshooting
- All commands: Nylas CLI Command Reference
- Get started:
brew install nylas/nylas-cli/nylas(다른 설치 방법)