This article was written by Hiyoung
Original article: https://blog.hiyoung.icu/2022/09/01/906d191f9a59/
Aria2 is a download tool on Linux. Here we introduce its installation and configuration under Windows. The official Aria2 does not have a GUI, so we use AriaNG to operate it directly via a web interface.
AriaNg is a modern web frontend that makes aria2 easier to use. AriaNg is developed using pure HTML & javascript, so it does not require any compiler or runtime environment.
Download the Latest Aria2 + AriaNG Package
First, download the installation packages from the official websites.
– Aria2 Official Documentation
– AriaNG Official Documentation
For Aria2, select the compressed package corresponding to your operating system. After extracting AriaNG, place it in the Aria2 folder.
AriaNg now offers three versions: Standard, Single File, and AriaNg Native.
The standard version is suitable for deployment on web servers, providing resource caching and on-demand loading.
The single file version is suitable for local use – just open the single HTML file in a browser after downloading.
AriaNg Native is also suitable for local use and does not require a browser.
Add Configuration Files
After extracting the files to the target directory, you need to create 4 new empty files (you can first create empty .txt files and then rename them):
- Aria2.log (log file)
- aria2.session (used to record download history for resume support)
- aria2.conf (configuration file)
- HideRun.vbs (used to hide the command prompt window when running)
Modify the Configuration File
- Open the empty
aria2.conffile you just created, and fill in the following content (open it with Notepad).
| |
Note: You need to modify the following four lines to match your own file paths:
| |
The last two lines are for saving download history. If Aria2 cannot start sometimes, clearing the content inside will fix it.
- Modify the
HideRun.vbsfile
Open the HideRun.vbs file and add the following content:
| |
Next, double-click to run the HideRun.vbs file (note: it must be the .vbs file, not the executable). If no error occurs, you can skip the following paragraph:
Note: You can also add a specific directory prefix before the file path, but ensure that there are no spaces in the directory path of the prefix.
For example:
| |
However, because the folder he ne contains a space, the system cannot recognize it. Similar common problematic locations include: D:Program Files (x86), which also has spaces. The solution is to remove this prefix (but the .vbs file must be located in the same Aria2 folder).
- Open
index.html

Open the index.html file inside. If it displays “Connected”, the setup is successful.
- Add to Startup
Create a shortcut of the HideRun.vbs file and place it in Windows’ startup directory:
Enter the following in the Run dialog: shell:startup
This will open the startup folder. Then drag the shortcut into it.
Reference articles: