This guide walks you through installing aria2 on Windows, running it as a background service using NSSM, and managing your downloads via the AriaNg web interface.
- Windows 10 or 11
- Admin privileges
- Internet connection
-
Download aria2
Go to: https://github.com/aria2/aria2/releases
Download:aria2-*-win-64bit-build1.zip -
Extract to a folder
Example:C:\aria2 -
Create a download directory
C:\aria2\Downloads
-
Create
aria2.confinC:\aria2with the following content:dir=C:/aria2/Downloads continue=true file-allocation=prealloc enable-rpc=true rpc-listen-all=true rpc-allow-origin-all=true rpc-secret=mySecretToken123 input-file=aria2.session save-session=aria2.session save-session-interval=30
Replace
mySecretToken123with a secure password. -
Create an empty file
aria2.sessionin the same folder:C:\aria2\aria2.session
-
Download NSSM
From: https://nssm.cc/download
Extract to:C:\nssm -
Install aria2 as a service
Open Command Prompt as Administrator and run:
C:\nssm\win64\nssm.exe install aria2
Fill in the GUI:
- Path:
C:\aria2\aria2c.exe - Startup directory:
C:\aria2 - Arguments:
--conf-path=aria2.conf
Click Install Service.
- Path:
-
Start the service:
net start aria2
Or open
services.msc, find aria2, right-click β Start.
-
Download
AriaNg-AllInOne.zip:
https://github.com/mayswind/AriaNg/releases -
Extract and open
index.htmlin your browser.
In AriaNg settings (gear icon):
- Host:
127.0.0.1 - Port:
6800 - Interface:
JSON-RPC - Secret Token:
mySecretToken123
AriaNg will connect and show active downloads and logs if everything is working correctly.
- Do not expose port 6800 to the internet without protection.
- Always set a strong
rpc-secretinaria2.conf. - If remote access is needed, use:
- Cloudflare Tunnel
- VPN / SSH Tunnel
- HTTPS reverse proxy (e.g., Nginx + Certbot)
# Start aria2 service
net start aria2
# Stop aria2 service
net stop aria2
# Remove service (optional)
nssm remove aria2 confirm- aria2 by Tatsuhiro Tsujikawa
- AriaNg by mayswind
- NSSM by Iain Patterson