Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday one of my friends asked me, if there is some torrent client, that runs on the command-line.

I have no answer for him, but I think that you have it.

share|improve this question
Why do you want a cli torrent client? Do you just prefer cli? Do you need it for a headless server? Do you need to pass it commands via bash script? – djeikyb Mar 11 '11 at 11:32
I need cli for headless server. – Vitaly Zdanevich Jun 21 '15 at 10:41
up vote 61 down vote accepted

Deluge is controllable by gui, web, and console.

To setup remote access to a deluge server see the thinclient guide.




standard deluge gtk ui


deluge web ui

share|improve this answer
+1 for downloading ubuntu iso's !! – HackToHell Jan 9 '13 at 15:25
+1 for deluge web. The cli seems to have some bugs, but the web ui works like a charm! – aandis Apr 12 '15 at 7:46
After installing can't start on Debian. – Vitaly Zdanevich Jun 21 '15 at 11:25
@VitalyZdanevich try ubuntu? ; ) – djeikyb Jun 21 '15 at 12:40

I think the default torrent client transmission itself has a cli interface and can be installed with

sudo apt-get install transmission-cli

share|improve this answer
Another vote for transmission. In daemon mode, you can control an already-running instance of transmission to add/removetorrents, check on status, etc. – barrycarter Mar 11 '11 at 14:11

I use rtorrent on a headless server to serve Debian and Ubuntu ISOs, works quite well and can saturate my network link. Dependencies and memory usage are minimal.

share|improve this answer
+1, rtorrent is very good for this. – poolie Mar 24 '11 at 22:41

aria2 ( is a multi-protocol & multi-source, cross platform download utility. The supported protocols are HTTP(S), FTP, BitTorrent, Metalink. It can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth.

Example command-line installation and usage:

$ sudo apt-get install -y aria2
$ aria2c
share|improve this answer

Yes. I use ctorrent as my primary client. Usually from within tmux.

sudo apt-get install ctorrent
share|improve this answer

I was looking for a torrent client for ubuntu server a few weeks ago.I didn't found anything interesting but µTorrent server.It runs a web interface which can be accessible from serveraddress:8000/gui.

Here is a screenshot of the web interface:

enter image description here

It can be downloaded from

Configuration manual is included in the downloaded package (You wont install it.Only configure it and run the executable when you want to use it.).Be aware that this is a alpha version and it may have some problems.They say this version is only for 32bit linux but I used it on my 64bit server and I didn't experienced any problems.

Another option is rtorrent, a CLI application.It's not user-friendly and I had problems with different torrent files.You can install it from repositories:

sudo apt-get install rtorrent
share|improve this answer
rtorrent is well documented and if follow manual carefully it is easy to use. It is very lightweight with minimal dependencies. It can be extensively configured. And does not require to have web server what was very important for me – Osis Mar 11 '11 at 9:07
I only said it's not user friendly.Many CLI apps are easy to use without following manuals.Besides I couldn't download with different torrent file from different providers (piratebay for example).µTorrent worked better. – Pedram Mar 11 '11 at 9:22

There are some torrent clients that you can run on a headless server. I dunno if you can control them via console, but the following clients are controllable via web interface:

  • torrentflux
  • deluge

Torrentflux is available in the Ubuntu repositories, but I think in a quite outdated version now.

Deluge can be obtained from the getdeb repositories. It also has a GUI client software that you could run from your desktop and connect to the "headless client" running on your server to control it.

share|improve this answer

Or you could run install deluge torrent, run it as a daemon, and access it through Web Interface or remote apps (eg. Transdroid on Android).

share|improve this answer


WebTorrent is a streaming torrent client for node.js and the browser. It also has a command line app.


npm install webtorrent -g
webtorrent --help

You need to have node.js and npm installed for using webtorrent.

To download a torrent:

webtorrent magnet_uri
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.