How to Install Forge on a Minecraft Server (2026)

Published on

Step-by-step guide to install Minecraft Forge on a dedicated server. Includes server files, JVM setup, and first mod installation.

Written by Jochem – Infrastructure Expert – 5-10 years experience in game server hosting, VPS infrastructure, and 24/7 streaming solutions. Read author bio →

How to Install Forge on a Minecraft Server (2026)

Install Forge Minecraft server

Forge is the most popular mod loader for Minecraft Java Edition. It powers thousands of mods and most major modpacks. Here is how to install it on a server.

Requirements

  • Java 17 (for MC 1.18 to 1.20.4) or Java 21 (for MC 1.20.5+)
  • At least 4 GB RAM (more for modded)
  • SSH or file access to your server

Installation Steps

Step 1: Download Forge Installer

  1. Go to files.minecraftforge.net
  2. Select your Minecraft version
  3. Click Installer (not the MDK or universal)

Step 2: Upload and Run Installer

Upload the installer to your server and run:

java -jar forge-*-installer.jar --installServer

This creates:

  • A libraries/ folder
  • A run.sh (Linux) or run.bat (Windows) script
  • Server files in the current directory

Step 3: Accept EULA

echo "eula=true" > eula.txt

Step 4: Start the Server

./run.sh

Or manually:

java -Xms4G -Xmx4G @libraries/net/minecraftforge/forge/*/unix_args.txt nogui

Step 5: Install Mods

  1. Stop the server
  2. Place mod jars in the mods/ folder
  3. Start the server again

Forge vs NeoForge

NeoForge is a fork of Forge that started in 2023. For Minecraft 1.20.2+, NeoForge is the actively developed version. The installation process is nearly identical.

| Feature | Forge | NeoForge | |---------|-------|----------| | MC 1.12 to 1.20.1 | Supported | Not available | | MC 1.20.2+ | Maintenance mode | Active development | | Mod compatibility | Largest library | Growing, most Forge mods work | | Installation | Same | Same |

For new servers on 1.20.2+, consider NeoForge.

Troubleshooting

Server Crashes on Start

  • Check logs/latest.log for error details
  • Verify Java version matches requirements
  • Remove recently added mods one at a time

Mods Not Loading

  • Verify mod versions match your Forge and MC version
  • Check for missing dependencies in the log
  • Some mods require Fabric, not Forge (check the mod page)

Out of Memory

Increase RAM in the start script:

java -Xms6G -Xmx6G @libraries/...

Host your Forge server. View Minecraft Hosting Plans

Jochem

About the Author

Jochem – Infrastructure Expert – Expert in game server hosting, VPS infrastructure, and 24/7 streaming solutions with 5-10 years experience.

Since 2023
500+ servers hosted
4.8/5 avg rating

I specialize in Minecraft, FiveM, Rust, and 24/7 streaming infrastructure, operating enterprise-grade AMD Ryzen 9 hardware in Netherlands datacenters.

View my full bio and credentials →

Start Your MC Server Now Today

Join content creators worldwide who trust our Minecraft infrastructure. Setup is instant and support is always available. Start from €0.90/mo (Dirt) or €2.70/mo (Coal) and go live in minutes.

How to Install Forge on a Minecraft Server (2026)