Skip to content

signal-cli

Command-line Signal client with a JSON-RPC daemon for scripts and server alerts

Copyleft (OSI) · GPL-3.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

89

Health

Thriving

Overview

Stars

5,069

Last commit

10 days ago

Nov 2026

Repository age

11 years

since May 2015

Latest version

v0.14.10

Nov 2026

Contributors

–

17 active in 90 days

Releases

14

last 12 months

Language

Java

signal-cli is a command-line client for the Signal messenger. It can register an account, verify it, and send and receive messages. It is built on a patched libsignal-service-java taken from the Signal-Android source.

Its main use is on servers, where it can notify admins about important events. For that it has a daemon mode with a JSON-RPC interface and a D-Bus interface. You can register with a phone number that receives SMS or calls, or link it to an existing Signal account from a compatible mobile app.

It needs Java 25 or newer and the libsignal-client native library. Native libraries are bundled for x86_64 Linux, Windows and macOS. A GraalVM native build for Linux, a Flathub package, a Homebrew formula and a Docker image are also available. The code is Java under GPL-3.0.

Keep it current. Releases older than about three months may stop working when Signal's servers change.

Who it's for

Sysadmins sending alerts to Signal

The daemon mode exposes JSON-RPC and D-Bus, so scripts and monitoring tools can send messages.

Skip if: You want a chat app with a graphical interface for daily conversations.

Developers building Signal bots or integrations

A JSON-RPC interface lets your code send and receive messages without a UI.

Skip if: You need an officially supported API from Signal.

Linux users who prefer the terminal

You can link it to an existing account and read and send messages from a shell.

Skip if: You cannot update it every few months.

The problem it solves

Signal has no official way to send messages from scripts or headless servers. signal-cli gives you a command line and a daemon you can call from your own tools.

Strengths

  • JSON-RPC and D-Bus interfaces in daemon mode
  • Links to an existing account or registers a new number
  • Bundled native libraries for x86_64 Linux, Windows and macOS
  • Active: 14 releases in the last year and 17 recent contributors

Trade-offs

  • Needs Java Runtime 25 or newer for the JVM build
  • Old releases can break when Signal changes its servers
  • Registering a number can unregister existing clients on it
  • Other CPU architectures need you to provide the native library

Self-host signal-cli

Self-hostable
No (desktop or local app)

Quick start

VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/AsamK/signal-cli/releases/latest | sed -e 's/^.*\/v//')
curl -L -O https://github.com/AsamK/signal-cli/releases/download/v"${VERSION}"/signal-cli-"${VERSION}".tar.gz
sudo tar xf signal-cli-"${VERSION}".tar.gz -C /opt
sudo ln -sf /opt/signal-cli-"${VERSION}"/bin/signal-cli /usr/local/bin/

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is signal-cli free?

Yes. It is open source under GPL-3.0.

Do I need a new account?

No. You can link it to an existing Signal account from a compatible mobile app, or register a number.

Can I use a landline?

Yes. Try SMS verification first, expect an error, wait 60 seconds, then request a voice call.

Which platforms are supported?

Binaries work on Linux, macOS and Windows. A Docker image and community Linux packages exist.

Why must I keep it updated?

Official Signal clients expire after three months, and the server can then make incompatible changes.

Similar tools in Messaging apps

Fluxer

Messaging apps

Self-hostable Discord-style chat with voice, video and screen sharing for communities

11k 873 today Thriving AGPL-3.0

Replaces Discord

Signal-Android

Messaging apps

Encrypted Android messenger for people leaving WhatsApp, Messenger or Instagram DMs

30k 7k today Active AGPL-3.0

berty

Messaging apps

Peer-to-peer messenger for phones that works without servers or phone numbers

9.4k 515 4 days ago Active Apache-2.0

Halloy

Messaging apps

Fast desktop IRC client with broad IRCv3 support for Mac, Windows and Linux

4.6k 230 today Thriving GPL-3.0

sharkord

Messaging apps

Self-hosted voice, video and text chat server for small groups, shipped as one binary

1.6k 162 today Thriving MIT

Replaces Discord

Databag

Messaging apps

Lightweight federated messenger you host yourself, for families and small groups

1.5k 101 5 months ago Slowing Apache-2.0

Replaces WhatsApp