1 min read

LocalSend CLI

LocalSend CLI for Linux is a simple command-line tool that lets you send and receive files over your local network using the LocalSend protocol. It’s lightweight, open-source, and doesn’t require internet access.

You may also interest yourself in the GUI version of localsend.

📦 Installation

LocalSend CLI is written in Go. To install it:

git clone https://github.com/0w0mewo/localsend-cli.git
cd localsend-cli
go build -o localsend

Allow Localsend CLI to communicate with port 53317 through firewalls (if any):

# LocalSend
sudo ufw allow 53317/tcp
sudo ufw allow 53317/udp

🚀 Basic Commands

Command Description
localsend scan Scan your local network for devices
localsend send -f FILE -p IP Send a file to a device at IP address
localsend recv Receive incoming files
localsend help Show help and available commands

You can find the full CLI project and documentation on GitHub.

If your devices are in close proximity to each other, you may find sharing over bluetooth easier