aria2 downloads files over HTTP, FTP, SFTP, BitTorrent, and Metalink from the terminal, often combining several sources for one job.
Overview
aria2 is a lightweight cross-platform download utility operated from the command line. It speaks HTTP and HTTPS, FTP, SFTP, BitTorrent, and Metalink, and can pull the same file from multiple protocols at once while uploading HTTP-sourced data into a BitTorrent swarm when configured that way.
Segmented downloading, multi-connection downloads, IPv6 with Happy Eyeballs, disk caching, speed throttling, and Metalink chunk checksum validation help throughput and integrity. BitTorrent support includes DHT, PEX, encryption, magnet links, web seeding, selective multi-file downloads, and local peer discovery.
Remote control is available through JSON-RPC over HTTP or WebSocket and XML-RPC interfaces, so other tools and UIs can manage a running aria2c process. It can run as a daemon, read URIs from files or stdin, honor netrc and config files, and persist Firefox, Chromium, or Mozilla-format cookies.
Prebuilt binaries exist for Linux, macOS, Windows, and Android, alongside source builds with optional dependencies for TLS, SFTP, Metalink, and async DNS. Third-party frontends and wrappers expose the RPC API in browsers and package managers.
Key features
- HTTP FTP SFTP BitTorrent Metalink
- Multi-source segmented downloads
- JSON-RPC and XML-RPC control
- Full BitTorrent client features
- Metalink checksum validation
- Cookie import and export
- Daemon mode operation
- IPv6 Happy Eyeballs support
Use cases
- Scripted bulk file downloads
- BitTorrent and magnet retrieval
- Parallel CDN or mirror fetching
- Remote-controlled download daemons
- Low-resource server-side fetching