Linux Torrent CLI Guide
Transmission, aria2 & rtorrent
No GUI needed. Learn how to download torrents from the Linux terminal using three powerful CLI clients. Perfect for headless servers, VPS, and Raspberry Pi setups.
📋 Contents
// 1. Which Client Should You Use?
| Feature | aria2 | Transmission | rtorrent |
|---|---|---|---|
| Ease of Setup | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐ |
| Web UI | ❌ | ✅ Built-in | ✅ ruTorrent |
| RAM Usage | ~5 MB | ~15 MB | ~10 MB |
| Multi-protocol | HTTP+FTP+BT | BT only | BT only |
| Best For | Quick downloads | Headless servers | Seedbox / power users |
// 2. aria2 — The Swiss Army Knife
aria2 is a lightweight, multi-protocol download utility. It supports HTTP, FTP, and BitTorrent in a single tool. Perfect for quick torrent downloads from the terminal.
// Install on Ubuntu/Debian:
sudo apt update && sudo apt install aria2 -y
// Install on Arch Linux:
sudo pacman -S aria2
// Download a torrent file:
aria2c ubuntu-24.04-desktop-amd64.iso.torrent
// Download a magnet link:
aria2c 'magnet:?xt=urn:btih:HASH&dn=ubuntu-24.04'
// Download with extra trackers for faster speed:
aria2c --bt-tracker="udp://opentrackr.org:1337/announce,udp://tracker.torrent.eu.org:451/announce,udp://open.stealth.si:80/announce,udp://explodie.org:6969/announce" 'magnet:?xt=urn:btih:HASH'
💡 Pro tip:
Use --seed-time=0 to stop seeding
immediately after download completes, or --max-connection-per-server=16
for faster HTTP downloads.
// 3. Transmission-daemon — Set & Forget
Transmission-daemon runs as a background service with a web-based UI. Ideal for headless servers or Raspberry Pi seedbox setups.
// Install & start:
sudo apt install transmission-daemon -y
sudo systemctl stop transmission-daemon
# Edit settings (must stop daemon first!)
sudo nano /etc/transmission-daemon/settings.json
// Key settings.json changes:
{
"rpc-whitelist-enabled": false,
"rpc-authentication-required": true,
"rpc-username": "admin",
"rpc-password": "your-secure-password",
"download-dir": "/home/user/downloads",
"speed-limit-up": 500,
"speed-limit-up-enabled": true
}
// Start daemon & access web UI:
sudo systemctl start transmission-daemon
# Web UI available at:
# http://your-server-ip:9091
// Add torrent via command line:
transmission-remote -a 'magnet:?xt=urn:btih:HASH'
transmission-remote -l # List all torrents
transmission-remote -t 1 -i # Info about torrent #1
// 4. rtorrent — Power User's Choice
rtorrent is the most configurable CLI torrent client. Combined with ruTorrent (web UI), it becomes a professional-grade seedbox solution.
// Install:
sudo apt install rtorrent -y
// Create config file ~/.rtorrent.rc:
# Directory settings
directory.default.set = /home/user/downloads
session.path.set = /home/user/.rtorrent/session
# Port settings
network.port_range.set = 49152-49152
network.port_random.set = no
# Performance tuning
throttle.max_uploads.set = 100
throttle.max_uploads.global.set = 250
throttle.min_peers.normal.set = 20
throttle.max_peers.normal.set = 60
# DHT & PEX
dht.mode.set = auto
protocol.pex.set = yes
# Encoding
encoding.add = utf8
// Launch rtorrent:
rtorrent
# Inside rtorrent:
# Press Enter → paste magnet/URL → Enter to start
# Ctrl+S = Start | Ctrl+D = Stop/Delete | Ctrl+Q = Quit
// 5. Adding Extra Trackers
Add our top-rated trackers to boost peer discovery in any Linux client:
// aria2 — use --bt-tracker flag:
aria2c --bt-tracker="udp://opentrackr.org:1337/announce,udp://tracker.torrent.eu.org:451/announce,udp://open.stealth.si:80/announce,udp://explodie.org:6969/announce,udp://tracker.opentrackr.org:1337/announce" 'magnet:?xt=...'
// Transmission — use transmission-remote:
transmission-remote -t 1 -td "udp://opentrackr.org:1337/announce"
transmission-remote -t 1 -td "udp://tracker.torrent.eu.org:451/announce"
For the full daily-updated tracker list, visit our homepage or use the Magnet Enhancer tool to auto-add trackers to any magnet link.
// 6. FAQ
What is the best torrent client for Linux
servers?
▾
For headless servers, Transmission-daemon is the easiest — install, configure settings.json, and manage via web UI. For power users running a seedbox, rtorrent + ruTorrent gives the most control.
Can I run a torrent client on a VPS?
▾
Yes, all three clients work on any Linux VPS. Use Transmission-daemon or rtorrent for long-running downloads, and aria2 for quick one-off downloads. Make sure your VPS provider allows torrent traffic and use legal content like Linux ISOs.
How do I run rtorrent in the background with
screen?
▾
Run: screen -S rtorrent, then start rtorrent. Detach with
Ctrl+A, then D. Reattach with screen -r rtorrent. Alternatively, use tmux: tmux new -s torrent.
Need More Trackers?
Add our 200+ daily-updated trackers to supercharge your CLI downloads.