LinuxCommandLibrary

kdeconnect-cli

controls KDE Connect from the command line

TLDR

List devices

$ kdeconnect-cli --list-available
copy
Pair with device
$ kdeconnect-cli --pair -d [device-id]
copy
Send file
$ kdeconnect-cli --share [file] -d [device-id]
copy
Ring device
$ kdeconnect-cli --ring -d [device-id]
copy
Send SMS
$ kdeconnect-cli --send-sms "[message]" --destination [number] -d [device-id]
copy
Get battery status
$ kdeconnect-cli --battery -d [device-id]
copy

SYNOPSIS

kdeconnect-cli [options]

DESCRIPTION

kdeconnect-cli controls KDE Connect from the command line. It connects Linux desktops with mobile devices.
The tool sends files, notifications, and controls media. It enables phone integration from terminal.

PARAMETERS

--list-available

List available devices.
--pair
Pair with device.
--unpair
Unpair device.
-d DEVICE
Target device ID.
--share FILE
Send file to device.
--ring
Ring device.
--send-sms MSG
Send SMS message.
--help
Display help information.

CAVEATS

Requires KDE Connect daemon. Devices must be on same network. Phone app needed.

HISTORY

kdeconnect-cli is part of KDE Connect, enabling seamless integration between Linux desktops and Android devices.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community