Command-line interface for Dex, the personal CRM.
npm install -g @getdex/cli# Option 1: Device code flow (interactive)
dex auth login
# Option 2: API key (from https://getdex.com/appv3/settings/api)
dex auth --token dex_your_key_here# Search contacts
dex dex-search-contacts --query "John"
# List all contacts (paginated)
dex dex-list-contacts --limit 100
# Get contact details
dex dex-get-contact --id "contact-id"
# Create a contact
dex dex-create-contact --first-name "Jane" --last-name "Doe" --company "Acme"
# List tags
dex dex-list-tags
# Create a reminder
dex dex-create-reminder --text "Follow up" --due-at-date "2026-04-01"Run dex --help for the full list of commands, or dex <command> --help for command-specific help.
- macOS (Apple Silicon & Intel)
- Linux (x64 & ARM64)
- Windows (x64 & ARM64)
This package uses platform-specific optional dependencies (the same pattern as Turbo and SWC). When you install @getdex/cli, npm/pnpm/yarn automatically downloads only the binary for your platform. No postinstall scripts are needed.
MIT