Reference
Commands
These pages match line help COMMAND for the version these docs describe. Global options such as --read-only and --error-format go before the command.
Everyday commands#
| Command | What it does |
|---|---|
line login | Sign in by QR code (--email ADDRESS for email login) |
line whoami | Show your signed-in account |
line contacts | Find friends (--search NAME) or look up people (--mid MID) |
line chats | Browse recent conversations |
line members | List group members and invitees |
line invites | List, accept, or reject group invitations |
line messages | Choose a chat and read messages |
line send | Choose a recipient and write a message |
line logout | Sign out on this device |
More commands#
| Command | What it does |
|---|---|
line auth | Inspect local session storage (auth status) |
line watch | Stream new messages and events (--json for scripts) |
line download | Save an image, video, audio, file, or album preview |
line read | Mark a chat as read (others see "Read") |
line react | Add or remove a reaction |
line unsend | Retract one of your own messages |
line doctor | Check installation, storage, sign-in, keys, clock, and watcher |
line completion | Print shell completion (bash, zsh, fish, powershell) |
line version | Show the installed version |
line update | Update LINE CLI or show upgrade instructions (--check to preview) |