Docs
Daily commands
Interactive modePick an item by number, or type part of a name to search. n and p move between pages, q cancels, and Ctrl-C stops. --json, --error-format=json, and --stdin turn prompts…
Chats and contactschats lists your conversations and contacts lists your friends. Both show 20 results; --limit N changes that and --limit 0 shows everything. JSON output includes every…
Read messagesmessages shows the 20 most recent messages; --limit takes 1–100. Normal output lists the oldest first, and plain --json keeps LINE's order. --show-ids adds the IDs you…
Members and mentionsmembers lists a group's current members and invitees separately, sorted by MID. Use a MID from it wherever a command asks for USER_MID. It supports --timeout and…
Group invitationsline invites lists pending group invitations with each group's name and full ID. In a terminal, it then lets you accept, reject, or skip each one.
Send messages and filesSends use Letter Sealing whenever LINE supports it for the chat. When LINE explicitly reports no E2EE support, the CLI sends over HTTPS/TLS without asking: the transfer…
Download, react, unsendReactions are like, love, laugh, surprise, sad, and angry. You can unsend only your own messages, within LINE's rules.
Mark as readReading, watching, and downloading never mark messages as read. To send a read receipt, run line read.
Watch eventsNames are looked up once per chat or person and cached; if a lookup fails, the ID is shown. Other events are hidden unless you add --verbose. A hidden event still moves…
More guides
Updateupdate shows the installed version, the latest stable GitHub release, how LINE CLI was installed, and which executable it found. It works without signing in. --check only…
ScriptingIf some messages can't be decrypted, messages --json still writes the full array with a status for each message, then exits 1. It never prints encrypted chunks or raw…
Account and sessionYour password is used only to sign in and is never saved. Commands lock the session while they update it; if a command reports that the session is busy, try again once…
Linux serversUse this on servers and SSH hosts without an unlocked desktop keyring.
TroubleshootingStart with line doctor.