Getting Started¶
Download the executable for your Operating System from the latest GitHub Release.
Get headlessmc-launcher-linux-x64 or headlessmc-launcher-linux-arm64,
depending on if your CPU architecture is x64 or ARM64.
Then you can run the file in your console.
Get headlessmc-launcher-windows-x64.exe. Then you can run the file in your console.
Get headlessmc-launcher-macos-arm64 or headlessmc-launcher-macos-x64,
depending on if your CPU architecture is ARM64 or x64.
Then you can run the file in your console.
Java¶
HeadlessMc has been written in Java with the Quarkus Framework and runs on Java 25.
You can also download the headlessmc.jar from GitHub, which will run on any operating system.
Docker¶
A preconfigured docker image exists:
Inside the container you can use theheadlessmc.
Android¶
HeadlessMc can run inside Termux.
- Download Termux from F-Droid, NOT from the PlayStore.
- Install Java:
apt update && apt upgrade $ apt install openjdk-<version> - Download the headlessmc.jar into Termux.
- Disable JLine, as we could not get it to work on Termux for now,
by adding
hmc.jline.enabled=falseto the user/.config/headlessmc/config.properties, or starting with-Dhmc.jline.enabled=false. - Now you can use HeadlessMc as you would on Desktop or Docker.
Web¶
HeadlessMc v2
This is a legacy HeadlessMc v2 feature that will eventually come back. Maybe even better as it could be possible to compile HeadlessMc to webassembly with GraalVM. However, it is currently not supported.
HeadlessMc can run inside the browser, kinda. First, there is CheerpJ, a WebAssembly JVM, but it does not support all features we need to launch the game. The CheerpJ instance can be tried out here. Secondly, there is container2wasm, which can translate the HeadlessMc Docker container to WebAssembly and the run it inside the browser, but this is extremely slow.