signal-cli connects accounts to Signal from the shell or daemons, supporting registration, messaging, and automated notifications without the mobile app UI.
Overview
signal-cli exposes Signal messaging through a command-line tool and optional JSON-RPC or D-Bus daemon interfaces built on patched libsignal components. It can register phone numbers, link existing mobile accounts, send and receive encrypted messages, and run continuously for server-side alerts.
Typical server workflows register or link an account, then use receive or daemon mode so keys and group updates stay fresh per Signal protocol expectations. Message content can be piped from other programs, and storage lives under the user's XDG data directory.
Binary releases target Linux, macOS, and Windows on x86_64 with bundled native libraries; community packages and a Docker image provide additional install paths. Java 25 or newer is required, and releases need to track upstream Signal server changes within a few months.
It suits admins who want Signal notifications from scripts, monitoring systems, or backends that cannot run the official graphical clients.
Key features
- CLI send and receive
- JSON-RPC daemon mode
- D-Bus interface
- Account register and link
- Stdin message piping
- Group and timer updates via receive
- GraalVM native build option
- Docker image availability
Use cases
- Server alert notifications on Signal
- Automate outbound messages
- Headless linked accounts
- Integrate via JSON-RPC clients