This article is about installing mods on Minecraft Java Edition servers.
If you want to install Bukkit plugins, check out this article instead: Install plugins
If you want to install Minecraft Bedrock Edition Addons, this article might help you: Installing Addons (Minecraft Bedrock Edition)
Step 1: Install Forge on your server
Forge is the server software that is necessary to load mods on your server.
Forge on Aternos: https://aternos.org/software/forge/
An alternative to Forge is Mohist which is based on Forge and PaperMC. It supports the installation of mods and plugins together on the same server: https://aternos.org/software/mohist/
Step 2: Install mods on your server
Aternos has a list with lots of different mods from CurseForge and Modrinth, currently, only mods listed on CurseForge or Modrinth can be installed on Aternos.
All mods: https://aternos.org/addons/
An example mod, Tinkers Construct: https://aternos.org/addons/a/curseforge/tinkers-construct
Step 3: Install dependencies on your server
Some mods need other mods to work, these are called dependencies. If it's possible, the dependencies are listed on the Aternos mod list, but sometimes you have to take a look at the mod descriptions to find all dependencies.
The example mod, Tinkers Construct, requires the installation of Mantle to work.
Mantle: https://aternos.org/addons/a/curseforge/mantle
Step 4: Install Forge on your computer
Most mods have to be installed on both, the server and the computer of every player. To install Forge on your computer, download the installer here: https://files.minecraftforge.net/
(If you use Mohist on the server, you still use Forge on the client)
Step 5: Install mods on your computer
Download all the mods, that you've installed on your server and put them into your mods folder (inside the .minecraft folder).
To download the mods, you can directly head to the mod pages linked in the Aternos mod list, for example:
Tinkers Construct: https://www.curseforge.com/minecraft/mc-mods/tinkers-construct
Mantle: https://www.curseforge.com/minecraft/mc-mods/mantle
Step 6: Start Forge on your computer
Start your Minecraft launcher and select the Forge profile, that was automatically created by the Forge installer (Step 4).
Step 7: Start Forge on your server
Start your server here: https://aternos.org/server/
Step 8: Connect to your server
If you have problems connecting to your server, you can read our article about that here.
If you want a mod to be added to the mod list, read this article: Suggesting new mods and plugins