How to install Minecraft mods
Mods are run by a loader — Fabric, Forge, NeoForge or Quilt. A mod is built for a specific loader and game version: pick yours and follow the guide.
How to install Fabric modsHow to install Forge modsHow to install NeoForge modsHow to install Quilt modsHow to install a datapackHow to install a plugin on a server (Paper, Spigot, Purpur)How to install mods on a server
In short: three steps
1Install a loaderFabric, NeoForge or Forge — for your game version
2Put the file into mods
%appdata%\.minecraft\mods3Launch the gamewith the loader profile in the launcher
Where the .minecraft folder is
SystemPath
Windows
%appdata%\.minecraftmacOS
~/Library/Application Support/minecraftLinux
~/.minecraft