Repository navigation
Installation
TwilightMC is available in two shapes:
-
Portable archive — the
twilightCLI and thetwilight-uidesktop GUI, unpacked into one folder. No installer, no admin rights. -
System package — a signed
.debor.rpmthat installs the GUI as/usr/bin/twilight-uiwith a desktop entry and icons. The CLI stays in the portable archive.
Pick the channel you want first: Stable (vX.Y.Z), Star beta
(vX.Y.ZbN), Bolide alpha (vX.Y.ZaN) or the rolling Snapshot. See
Release channels for the difference.
| Platform | GUI | CLI |
|---|---|---|
| Windows 10/11 | WebView2 Runtime (preinstalled on Windows 11) | none |
| macOS (Apple Silicon) | system WKWebView | none |
| Linux x86_64 / aarch64 | WebKitGTK 4.1 + GTK 3 | none |
| FreeBSD | not supported | build from source |
Java runtimes can be discovered from the system or downloaded/installed by the GUI from supported vendors (Adoptium, Mojang, Azul, Liberica, Corretto, Microsoft, GraalVM, OpenLogic) with checksum verification.
On Debian/Ubuntu the GUI runtime is libwebkit2gtk-4.1-0; on Fedora/RHEL it is
webkit2gtk4.1. The .deb/.rpm packages pull these in automatically. The
CLI is dependency-free on every platform.
Grab the file for your platform from GitHub Releases. Release assets follow this naming scheme:
twilight-<tag>-<platform>-<toolchain>.<ext> # stable / alpha / beta
twilight-snapshot-v<version>-<ddmmyyyy>-<commit>-<platform>-<toolchain>.<ext>
Linux builds use .tar.zst; Windows and macOS use .zip. The Linux matrix
covers GCC and Clang on x86_64 plus a native aarch64 build for SBCs such as the
Raspberry Pi 5, Radxa Rock 5, Orange Pi and Asahi Linux.
| File | Purpose |
|---|---|
twilight / twilight.exe
|
CLI: launch, modpack install, JVM discovery |
twilight-ui / twilight-ui.exe
|
Tauri v2 desktop GUI |
README.md, VERSION.md, CREDITS.md, LICENSE*
|
governance and licensing |
| runtime libraries (when needed) | e.g. WebView2Loader.dll and the MinGW GCC runtime DLLs |
# Linux — install zstd first if your distro does not ship it
tar -xf twilight-…-linux-x86_64.tar.zst
# Windows / macOS
unzip twilight-…-windows-x86_64.zipThe archive expands into a single twilight-…-<platform> folder. Keep the
folder together. On the Windows MinGW build, twilight-ui.exe needs
WebView2Loader.dll, libgcc_s_seh-1.dll, libstdc++-6.dll and
libwinpthread-1.dll beside it.
./twilight-ui # desktop GUI
./twilight versions # CLI: resolve the vanilla version list
./twilight launch latest --dry-runOn Linux you may need chmod +x twilight twilight-ui after extracting with a
tool that drops the executable bit.
Every release ships a checksums.sha256 covering every archive. Verify before
running an unsigned binary.
Windows (PowerShell, inside the download folder):
Get-Content .\checksums.sha256 | ForEach-Object {
$parts = $_ -split ' ', 2
$hash = (Get-FileHash $parts[1].Trim() -Algorithm SHA256).Hash.ToLower()
"$($hash -eq $parts[0]) $($parts[1].Trim())"
}Linux / macOS:
sha256sum -c checksums.sha256 # GNU coreutils or BusyBox
shasum -a 256 -c checksums.sha256 # macOSThe signed repositories are hosted on GitHub Pages:
- APT:
https://blackcatofficialytb.github.io/TwilightMC-OSS/apt - RPM:
https://blackcatofficialytb.github.io/TwilightMC-OSS/rpm - Key:
https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpg
# Debian / Ubuntu — stable channel
curl -fsSL https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpg \
| sudo gpg --dearmor -o /usr/share/keyrings/twilightmc.gpg
echo "deb [signed-by=/usr/share/keyrings/twilightmc.gpg] https://blackcatofficialytb.github.io/TwilightMC-OSS/apt stable main" \
| sudo tee /etc/apt/sources.list.d/twilightmc.list
sudo apt update && sudo apt install twilight-mc# Fedora / RHEL / AlmaLinux — /etc/yum.repos.d/twilightmc.repo
[twilightmc-stable]
name=TwilightMC Stable
baseurl=https://blackcatofficialytb.github.io/TwilightMC-OSS/rpm/stable/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpgReplace stable with beta, alpha or snapshot to follow another channel.
Full instructions, verification and troubleshooting live in
Package repositories.
- Windows 11 already has WebView2. Windows 10 downloads it on first run.
- MSVC and Clang builds link the WebView2 loader statically; the MinGW build
bundles it. Never copy
twilight-ui.exeout of its folder alone. - SmartScreen may show Windows protected your PC: More info → Run anyway.
- Both binaries run as-is; WKWebView is part of the system.
- Gatekeeper may block the unsigned app: System Settings → Privacy &
Security → Open Anyway, or
xattr -cr /path/to/twilight.
- The GUI needs WebKitGTK 4.1 and GTK 3. The CLI does not.
- The
.deb/.rpmpackages install the GUI and its desktop entry; use the portable archive if you also want thetwilightCLI in/usr/bin.
No pre-built archive is published. Build the CLI from source:
cargo build --release -p twilight-cliThe Tauri GUI stack (wry/tao) is not officially supported on FreeBSD.
| Symptom | Fix |
|---|---|
error while loading shared libraries: libwebkit2gtk-4.1.so.0 |
install libwebkit2gtk-4.1-0 (Debian/Ubuntu) or webkit2gtk4.1 (Fedora) |
WebView2Loader.dll was not found (Windows MinGW) |
unpack the whole archive; keep the DLLs beside twilight-ui.exe
|
tar: Cannot exec zstd |
install zstd (apt install zstd, apk add zstd, pacman -S zstd) |
| Gatekeeper refuses to open the app |
xattr -cr the binary, or use Open Anyway in Settings |
twilight: command not found after a .deb install |
the package ships the GUI only; use the portable archive for the CLI |
APT reports NO_PUBKEY
|
re-import the keyring with the curl + gpg --dearmor command above |
Still stuck? Open an issue with your platform, channel, exact archive name and the full error output: github.com/BlackCatOfficialytb/TwilightMC-OSS/issues.
TwilightMC is free software under AGPL-3.0-or-later · Report a bug · Releases · Discord
Start here
Using it
Under the hood
Project