CLI utility for Apple AirDrop β send files via AirDrop directly from the terminal.
airdrop is a command-line tool that lets you send files to nearby Apple devices (iPhone, iPad, Mac) using Apple's AirDrop feature β but directly from the terminal!
Instead of dragging files to the AirDrop icon, you can just type:
airdrop image.jpgairdrop myfile.pdf- Send files via AirDrop from command line
- Support for multiple files at once
- Pipe support β send files via stdin
- Automatic file type detection
- Works on Apple Silicon and Intel Macs
If you have Homebrew installed (most Mac users do):
brew tap xvoland/tap
brew install airdrop- Go to GitHub Releases
- Download the latest
airdrop_darwin_arm64.tar.gz(for Apple Silicon) orairdrop_darwin_x86_64.tar.gz(for Intel) - Extract the file
- Run it!
Or use terminal:
# For Apple Silicon (M1/M2/M3)
curl -L -o airdrop.tar.gz https://github.com/xvoland/airdrop/releases/download/v0.3.6/airdrop_darwin_arm64.tar.gz
tar -xzf airdrop.tar.gz
./airdrop yourfile.pdfLet's say you have a file called photo.jpg and want to send it to your iPhone:
airdrop photo.jpgThat's it! Airdrop will open and let you choose where to send the file.
You can send several files at once:
airdrop photo.jpg document.pdf screenshot.pngIf you want to send content that comes from another program:
cat myfile.pdf | airdropThis sends the content of myfile.pdf through AirDrop.
See all options:
airdrop --helpCheck which version you have:
airdrop --versionWant to see more details about what's happening?
airdrop -v file.pdfmacOS has a security feature called Gatekeeper that blocks apps from unknown developers. If this happens:
Solution 1: Run this command in terminal
xattr -cr $(which airdrop)Solution 2: Allow manually
- Open System Settings β Privacy & Security
- Look for the message about blocked airdrop
- Click Allow anyway
- Try running airdrop again
Make sure:
- β AirDrop is turned ON on your Mac (Control Center β AirDrop)
- β AirDrop is turned ON on your receiving device (iPhone/iPad)
- β Devices are close to each other
- β You accepted the incoming request on the receiving device
- macOS 10.15 (Catalina) or later
- AirDrop enabled on your Mac
- Receiving device nearby (iPhone, iPad, or another Mac)
Want to build it yourself? Here's how:
# 1. Clone the project
git clone https://github.com/xvoland/airdrop.git
cd airdrop
# 2. Build it
make
# 3. Run it!
./airdrop file.pdf# For Apple Silicon (M1/M2/M3)
make all ARCH=arm64
# For Intel Mac
make all ARCH=x86_64MIT License β see LICENSE
Iβll keep improving the app no matter what because I love seeing people use it to reach their goals. But if youβd like to support my work, even a $1 donation makes a big differenceβit helps cover hosting costs and the time I put into coding. Every little bit helps, and Iβd truly appreciate it.
If you enjoy the my work, consider donating today. Thank you so much! π
BTC (ERC20): 0x17496b75d241d377334717f8cbc16cc1a5b80396
USDT (TRC20): TAAsGXjNoQRJ7ewxSBL2W3DUCoG7h8LCT6
π https://dotoca.net/airdrop
πΊ Latest YouTube Videos
- OptiGrid β Optical Illusion Pattern Generator
- Gemini 3.1 Nano Banana 2 - AI Photoshop Plugin jsxNanaBananaPro v0.6.4
- How To Change The Thumbnail for Shorts using the YouTube app for iOS #youtube #techtips #tutorial
- π Photoshop Plugin for Gemini 3 Pro Nano Banana #photoshop #photoshoptutorial
- π Insame Photoshop JSX Plugin Script - jsxNanaBananaPro Updated (Multiple References Gemini Pro)
======= Made with β€οΈ for macOS users!

