iMessage/SMS CLI for reading, searching, and sending messages
imsg CLIRead, search, and send iMessage/SMS from the terminal.
Run imsg --help and imsg <command> --help for full command reference.
--json — structured output--limit <n> — bound result size (for read commands)imsg chats --limit 10 --jsonimsg chats --jsonimsg history --chat-id <id> --limit 20 --jsonimsg history --chat-id <id> --limit 20 --attachments --jsonimsg history --chat-id <id> --start 2026-01-01T00:00:00Z --jsonimsg send --to +14155551212 --text "message" --jsonimsg send --chat-id <id> --text "message" --jsonimsg send --to +14155551212 --text "message" --file ~/path/to/file --json--service imessage|sms|auto (defaults to auto)imsg react --chat-id <id> --tapback love --json--limit to bound results.--json for structured output.id, identifier (phone/email), name, service (iMessage/SMS/RCS), last_message_at.id, sender, text, timestamp, hasAttachment.