Your LINE chats, in the terminal
LINE CLI is an unofficial Go CLI for your personal LINE account. Read chats, send messages and files, download attachments, and stream events from your terminal. Use interactive prompts or JSON output on macOS, Linux, and Windows. No bot account or LINE Messaging API setup is required.
Terminal
$ line send "Mina" --text "Landed! See you at 7." Sent to Mina · end-to-end encrypted
What Mina sees in LINE
Landed! See you at 7.
Letter Sealing
Install
$ brew install kongesque/tap/line-cliImportant
Signing in may replace your existing LINE Chrome extension or another Chrome-style client session. LINE CLI saves one account per operating-system user.
Common tasks
| What you want to do | Command |
|---|---|
| Find friends | line contacts --search "Alice" |
| Read recent messages | line messages "Alice" --limit 20 |
| Send a text message | line send "Alice" --text "Hello!" |
| Send a file | line send "Alice" --file ./report.pdf |
| Download photos, video, audio, or files | line download |
| See chats with unread messages | line chats --unread |
| Mark a chat as read | line read "Alice" |
| Accept or reject group invitations | line invites |
| Stream live events | line watch |
| Check your setup | line doctor |