kdeconnect-cli

KDE's Connect CLI. More information: <https://kdeconnect.kde.org>.

Install

All systems
curl cmd.cat/kdeconnect-cli.sh
Debian Debian
apt-get install kdeconnect
Ubuntu
apt-get install kdeconnect
Arch Arch Linux
pacman -S kdeconnect
image/svg+xml Kali Linux
apt-get install kdeconnect
Fedora
dnf install kde-connect
Windows (WSL2)
sudo apt-get update sudo apt-get install kdeconnect
Raspbian
apt-get install kdeconnect

KDE's Connect CLI. More information: <https://kdeconnect.kde.org>.

  • List all devices:
    kdeconnect-cli --list-devices
  • List available (paired and reachable) devices:
    kdeconnect-cli --list-available
  • Request pairing with a specific device, specifying its ID:
    kdeconnect-cli --pair --device device_id
  • Ring a device, specifying its name:
    kdeconnect-cli --ring --name "device_name"
  • Share an URL or file with a paired device, specifying its ID:
    kdeconnect-cli --share url|path/to/file --device device_id
  • Send an SMS with an optional attachment to a specific number:
    kdeconnect-cli --name "device_name" --send-sms "message" --destination phone_number --attachment path/to/file
  • Unlock a specific device:
    kdeconnect-cli --name "device_name" --unlock
  • Simulate a key press on a specific device:
    kdeconnect-cli --name "device_name" --send-keys key

© tl;dr; authors and contributors