Skip to content

Command Line Interface

n1th1n-19 edited this page Nov 11, 2026 · 1 revision

Command line interface

The repository contains a terminal client, localsend-cli, in cli/. It is built on the same protocol (v2 HTTP + multicast discovery), so it works with Duck Share and LocalSend.

localsend-cli --help
localsend-cli send report.pdf photo.jpg ./project-backup
localsend-cli send --to "Cute Tomato" report.pdf
localsend-cli send --to 192.168.27.26 --text "hello"

Without --to, the command opens the list of discovered devices. An IP address is probed directly over HTTPS on the default port (53317).

The CLI is a Rust crate. Build it from the repository root with Cargo:

cargo build --release -p localsend-cli

Clone this wiki locally