安装:
sudo apt install aria2
下载命令
# 普通下载
aria2c -s 10 -x 10 -j 20 -d [保存目录] [下载地址]
# 使用代理下载
aria2c -s 10 -x 10 -j 20 -d d:\Aria2Download\ -all-proxy="http://127.0.0.1:10809" http://xxxx.exe
-s Download a file using N connections. 设置多下载多链接
-x The maximum number of connections to one server for each download. 设置单下载多链接
-j =N Set maximum number of parallel downloads for every static (HTTP/FTP) URL, torrent and metalink. 设置同时分块下载
-d 指定目录
--http-proxy=<PROXY> 指定http代理
查看aria2帮助命令:Aria2 Manual — aria2 1.36.0 documentation
aria2c -h