Create your Electron Minecraft Launcher easily!
npm install eml-libElectron Minecraft Launcher Lib (EML Lib) is a Node.js library. It permits to authenticate, download Java and Minecraft and launch Minecraft.

---
- Authentication: Authenticate users with Microsoft, Azuriom or Crack.
- Minecraft: Automatically download and launch Minecraft (Vanilla, Forge [^1], NeoForge [^1], Fabric [^1], and Quilt [^1]; MCP is coming soon), and remove unwanted files (such as unwanted mods).
- Java: Automatically download and install Java.
- Bootstraps [^1]: Auto-update your launcher.
- Maintenance [^1]: Block the launcher during maintenance.
- Server status: Displaying server information (from Minecraft 1.4 to the latest Minecraft version)
- News [^1]: Displaying news.
- Background [^1]: Displaying a background image.
- Node.js 20 or higher: see Node.js;
- Electron 23 or higher: please install it with npm i electron _if you use Microsoft Authentication_.
To get all the capacities of this Node.js library, you must set up your EML AdminTool website! Without it, you can only use Minecraft Vanilla, and many features will be disabled (such as News, Bootstrap, etc.).
If you don't want to use EML AdminTool, you should rather use the Minecraft Launcher Core library.
You need Node.js and Electron.
``bash`Using npm
npm i eml-lib
eml-lib package includes TypeScript typings, so you don't need to install @types/eml-lib.
Quick start using the EML AdminTool:
`js
const EMLLib = require('eml-lib')
const launcher = new EMLLib.Launcher({
url: 'https://admintool.electron-minecraft-launcher.com',
serverId: 'eml',
account: new EMLLib.CrackAuth().auth('GoldFrite')
})
launcher.launch()
`
Please refer to the docs for more information.
| OS (platform) | Supported? | Minimum version supported |
| -------------------------- | -------------- | -------------------------- |
| Windows (win32) | Yes | Windows 7 (Windows NT 6.1) |
| macOS (Darwin) | Yes | Mac OS X Lion (10.7) |
| Linux, including Chrome OS | Yes | Variable |
| Others | Not officially | - |
> [!WARNING]
> Mac with Apple Silicon (M1, M2, etc.) is supported only for Minecraft 1.19 and above.
> [!WARNING]
> No support will be provided for older versions of Windows, macOS and Linux, or for other operating systems.
The library has been tested on Windows 11 and macOS Tahoe (M3) with Node.js 22, on multiple Minecraft versions, from 1.0 to the Minecraft 26.1-snapshot, and with multiple loaders (Vanilla, Forge, NeoForge, Fabric and Quilt).
> [!WARNING]
> Mac with Apple Silicon (M1, M2, etc.) is supported only for Minecraft 1.19 and above.
> [!WARNING]
> Forge is supported only for Minecraft 1.6 and above.
Download the code and run the commands:
`bash`
cd EML-Lib
npm i
- This is not an official library from Mojang Studios, Microsoft, Electron or Node.js. _Minecraft_ is a trademark of Mojang Studios.
- This Node.js library is under the MIT license; to get more information, please read the file LICENSE`. It is legally obligatory to respect this license.
- If you need some help, you can join this Discord.
[^1]: Requires EML AdminTool.