April 11, 2020

Download Torrents From the CLI

I wanted to download the ArchLinux ISO image from here. It is advised to download it using torrent. We’ll be using aria2 for this.

I am running Arch, so to install aria2

pacman -S aria2

To start the download, just run:

aria2c <torrent or magnet link>

That’s it. Once the download is complete, the file(s) will be in your current directory.

There are other options to manage torrents from the command line, such as:

For a single torrent download, aria2 does the job well, and very easily. I’d look into the others for more advanced torrent management.

Copyright Marin Gilles 2019-2022