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#

CommandWhat it does
line loginSign in by QR code (--email ADDRESS for email login)
line whoamiShow your signed-in account
line contactsFind friends (--search NAME) or look up people (--mid MID)
line chatsBrowse recent conversations
line membersList group members and invitees
line invitesList, accept, or reject group invitations
line messagesChoose a chat and read messages
line sendChoose a recipient and write a message
line logoutSign out on this device

More commands#

CommandWhat it does
line authInspect local session storage (auth status)
line watchStream new messages and events (--json for scripts)
line downloadSave an image, video, audio, file, or album preview
line readMark a chat as read (others see "Read")
line reactAdd or remove a reaction
line unsendRetract one of your own messages
line doctorCheck installation, storage, sign-in, keys, clock, and watcher
line completionPrint shell completion (bash, zsh, fish, powershell)
line versionShow the installed version
line updateUpdate LINE CLI or show upgrade instructions (--check to preview)