A convenient launcher for moonlight. Say goodbye to patching Discord every update!
- Rust 56%
- NSIS 28.1%
- Shell 12%
- JavaScript 3.9%
| .cargo | ||
| .github | ||
| crates/xtask-prepare-release | ||
| installers | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
🌙 moonlight launcher
The cross-platform launcher for moonlight that doesn't modify your Discord install.
✨ Features
- Automatic Updates: Always run the latest version of moonlight with zero effort
- Cross-Platform: Works on Windows, Linux (including Flatpak)
- Multiple Discord Branches: Releases available for Discord Stable, PTB, and Canary
- Developer Friendly: Support for local git installations of moonlight
📦 Installation
Windows
- Download the latest installer from Releases
- Run the installer and follow the on-screen instructions
- Select your preferred Discord branches during installation
Linux
Stable Release
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)"
PTB (Public Test Build)
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- ptb
Canary (Development Build)
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- canary
AUR (Arch Linux)
yay -S moonlight-stable # or moonlight-ptb or moonlight-canary
Uninstalling
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- --uninstall <branch>
🖼️ Screenshots
| Windows | Linux (KDE) |
|---|---|
![]() |
![]() |
🛠️ Advanced Usage
Available Command Line Flags
--local <path>: Use a local moonlight instance--branch [stable | nightly]: Use a specific branch of moonlight--help: Display help message
Passing Arguments to Discord
Any arguments after -- will be passed directly to Discord:
moonlight-stable -- --start-minimized --enable-blink-features=MiddleClickAutoscroll
Using a different branch of moonlight
If you're using moonlight-stable, the launcher will default to using the latest stable release of moonlight.
If you're using moonlight-ptb or moonlight-canary, it will default to using the latest nightly build.
You can change this behaviour by using the --branch flag:
moonlight-stable --branch nightly
# or
moonlight-canary --branch stable
Using a Local Git Instance
To use a local development version of moonlight:
moonlight-stable --local /path/to/your/moonlight/injector.js
Made with ❤️ by MeguminSama

