Lightweight multi-protocol & multi-source command-line download utility
open sourceGPL-2.0-or-laterself-hostablefree
aria2 is a command-line download utility for HTTP(S), FTP, SFTP, BitTorrent and Metalink. It splits a download into segments and can pull one file from several sources and protocols at once, uploading what it gets over HTTP or FTP to the BitTorrent swarm, and it validates chunks with Metalink checksums. Its BitTorrent client has DHT, PEX, encryption, magnet links, web seeding and local peer discovery. Running as a daemon, it is controlled through JSON-RPC (over HTTP and WebSocket) and XML-RPC, which front ends such as webui-aria2 and download managers use, and it typically uses 4 to 9 MiB of memory. Written in C++ and GPL-2.0-or-later, with binaries for macOS, Windows and Android.
Ways to install
On your own server
Package managers
Problems it solves
- download a big file faster by opening several connections to the server at once
- download the same file from multiple mirrors at the same time
- a lightweight torrent client for a headless server that I control over RPC
- download a magnet link from the command line without a GUI torrent app
- resume interrupted downloads of large ISOs reliably from a script
- queue hundreds of URLs from a text file and download them a few at a time
- run a download daemon on my NAS and add downloads from a web UI
- control downloads from my own app through a JSON-RPC API
- limit download and upload speed so my downloads don't saturate the connection
- download over SFTP and FTP as well as HTTPS with one tool
- verify chunks of a file while it downloads using checksums
- download a single file from a multi-file torrent
- a download tool that uses only a few megabytes of RAM on a Raspberry Pi
- speed up yt-dlp downloads with an external multi-connection downloader
Features
- HTTP(S), FTP, SFTP, BitTorrent and Metalink downloads
- segmented downloading from multiple sources and protocols at once
- BitTorrent with DHT, PEX, MSE/PSE encryption, multi-tracker, UDP trackers, magnet URIs and web seeding
- BitTorrent local peer discovery and selective download in multi-file torrents
- Metalink 3.0 and 4 (RFC 5854) and Metalink/HTTP (RFC 6249) with chunk checksum validation
- JSON-RPC over HTTP and WebSocket, and XML-RPC
- daemon mode
- download and upload speed throttling
- HTTP proxies, basic authentication, client certificates, custom headers and cookies
- netrc and configuration file support
View 4 more
- URI lists from a file or stdin, with parameterized URIs
- IPv6 with Happy Eyeballs
- disk cache to reduce disk activity
- 4 MiB to 9 MiB of memory in typical use
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what aria2 does.
- Mister Download Manager Downloads faster than IDM. Free, forever.
- GNU Wget A free software package for retrieving files using HTTP, HTTPS and FTP
- curl command line tool and library for transferring data with URLs