# macOS / Linux
-weight: 500;">brew -weight: 500;">install nylas/nylas-cli/nylas # Windows PowerShell
irm https://cli.nylas.com/-weight: 500;">install.ps1 | iex
# macOS / Linux
-weight: 500;">brew -weight: 500;">install nylas/nylas-cli/nylas # Windows PowerShell
irm https://cli.nylas.com/-weight: 500;">install.ps1 | iex
# macOS / Linux
-weight: 500;">brew -weight: 500;">install nylas/nylas-cli/nylas # Windows PowerShell
irm https://cli.nylas.com/-weight: 500;">install.ps1 | iex
nylas auth login
nylas auth whoami
# => Authenticated as [email protected] (Google Workspace)
nylas auth login
nylas auth whoami
# => Authenticated as [email protected] (Google Workspace)
nylas auth login
nylas auth whoami
# => Authenticated as [email protected] (Google Workspace)
nylas otp get
# => ✓ Found code: 847291 (from [email protected], 23s ago)
# => Copied to clipboard
nylas otp get
# => ✓ Found code: 847291 (from [email protected], 23s ago)
# => Copied to clipboard
nylas otp get
# => ✓ Found code: 847291 (from [email protected], 23s ago)
# => Copied to clipboard
CODE=$(nylas otp get --raw)
echo "OTP is: $CODE"
CODE=$(nylas otp get --raw)
echo "OTP is: $CODE"
CODE=$(nylas otp get --raw)
echo "OTP is: $CODE"
# In a GitHub Actions workflow
- name: Get verification code run: | CODE=$(nylas otp get --raw --timeout 30) echo "OTP=$CODE" >> $GITHUB_ENV
# In a GitHub Actions workflow
- name: Get verification code run: | CODE=$(nylas otp get --raw --timeout 30) echo "OTP=$CODE" >> $GITHUB_ENV
# In a GitHub Actions workflow
- name: Get verification code run: | CODE=$(nylas otp get --raw --timeout 30) echo "OTP=$CODE" >> $GITHUB_ENV
nylas otp watch --interval 5
# Polls every 5 seconds, prints each new code as it arrives
nylas otp watch --interval 5
# Polls every 5 seconds, prints each new code as it arrives
nylas otp watch --interval 5
# Polls every 5 seconds, prints each new code as it arrives
nylas otp get --from "[email protected]"
nylas otp get --from "[email protected]"
nylas otp get --from "[email protected]"
nylas otp get --from "[email protected]"
nylas otp get --from "[email protected]"
nylas otp get --from "[email protected]"
nylas mcp -weight: 500;">install --assistant claude-code
nylas mcp -weight: 500;">install --assistant claude-code
nylas mcp -weight: 500;">install --assistant claude-code - List Gmail Emails from the Command Line
- List Outlook Emails from Terminal
- Read and Search Email in PowerShell - E2E Email Testing with Playwright
- Send Email from the Command Line
- Give Your AI Agent an Email Address
- Build an AI Email Triage Agent
- Monitor Your Inbox with PowerShell
- Secure Email Handling for CLI
- Manage Calendar from the Terminal