To install Moonlight on Steam Deck, switch to Desktop Mode, open Discover, search for Moonlight, and select Install. Install Sunshine on your gaming computer, then pair Moonlight with that computer to stream your games. These steps cover Steam Deck LCD and OLED running SteamOS.
The short version
- Install on the Deck: Find the official Moonlight app in Discover in Desktop Mode.
- Prepare your computer: Install Sunshine on the gaming host and create its local administration credentials.
- Pair your devices: Connect both devices to the same network and enter Moonlight’s PIN in Sunshine.
- Use Gaming Mode: Add Moonlight to Steam as a non-Steam game.
| Installation option | Where you start | What you need |
|---|---|---|
| Discover search | Discover in Desktop Mode | Official Moonlight Flatpak listing |
| Browser installation | Moonlight’s Flathub listing | Discover to open the downloaded reference file |
| Terminal installation | Konsole in Desktop Mode | Flathub remote configured |
| AppImage | Official Moonlight releases | Linux x86_64 download made executable |
| Windows installer or portable app | Official Moonlight releases | Deck already running a supported Windows version |
Install Moonlight through Discover
Press STEAM, then select Power > Switch to Desktop. Open Discover from the taskbar and search for Moonlight. Keep Steam running so its desktop input mappings remain active, and press STEAM + X when you need the on-screen keyboard.
Open the Moonlight listing published by Moonlight Game Streaming Team and select Install. Its application ID is com.moonlight_stream.Moonlight, which identifies the official Flatpak. Once installation finishes, continue with Sunshine on your gaming computer.
If Discover search does not get you to the listing, open the official Moonlight Flathub page in a Desktop Mode browser and select Install. On the installation page, select Download .flatpakref, open the downloaded .flatpakref file with Discover, then select Install there. This installs the same Flatpak as the Discover search route.
Use a terminal or AppImage installation
You can also install the official Flatpak through Konsole in Desktop Mode. If your SteamOS installation has its Flathub remote configured, run this command:
flatpak install flathub com.moonlight_stream.MoonlightAfter installation, pair Moonlight with Sunshine and add it to Steam using the steps below. To launch Moonlight from Konsole, run this command:
flatpak run com.moonlight_stream.MoonlightFor the AppImage alternative, open the official Moonlight releases page and download the Linux x86_64 AppImage. In Konsole, make the downloaded file executable with the following command, replacing the example path with the actual downloaded filename:
chmod +x /path/to/Moonlight.AppImageRun the AppImage file to open Moonlight. To launch it in Gaming Mode, add that file as a non-Steam application using Steam’s file browser. For later AppImage updates, download the newer file from the release page and update any Steam shortcut that points to the old filename.
Set up Sunshine on your gaming computer
Moonlight runs on your Steam Deck, while Sunshine runs on the computer that plays the games. On that computer, open the Sunshine download page, select Get Sunshine, and choose the package for the host operating system. Install that package; Sunshine recommends the MSI installer for Windows.
Start Sunshine, then open https://localhost:47990/ in a browser on that same computer. Create the local administration credentials. Open Applications to configure games, and open Configuration to adjust host settings.
You can use Windows or a supported Linux system as your host; Sunshine’s macOS hosting is experimental. NVIDIA says GeForce Experience is no longer supported, so use Sunshine for a new setup instead of following older GeForce Experience SHIELD or GameStream instructions.
Pair the Steam Deck with your computer
Connect your Deck and gaming computer to the same network, then start Moonlight on the Deck. Select the discovered computer to display a pairing PIN. On the host, open PIN in Sunshine’s web interface, enter the displayed PIN and a device name, then press Enter.
Back in Moonlight, select an available application to begin streaming. If the host does not appear automatically, use Moonlight’s add-computer control and enter the host’s IP address. Select the resulting computer and complete the same PIN pairing through Sunshine.
Add Moonlight to Gaming Mode
In Desktop Mode, open Steam and select Add a Game > Add a Non-Steam Game. Check Moonlight, then select Add Selected Programs. For an AppImage installation, use Steam’s file browser to select the downloaded executable.
Select Return to Gaming Mode on the desktop. Open Library > Non-Steam, then launch Moonlight. Select your paired computer and the application you want to stream.
Choose your streaming quality and HDR settings
Open Moonlight’s settings using the gear icon. Adjust Resolution and FPS and Video bitrate: to suit your display, host computer, and network. These are client streaming settings, and the same screen also provides Video decoder and Video codec.
For HDR on the Steam Deck OLED’s built-in display or a compatible external HDR display configuration, use current stable Moonlight and check Enable HDR. Your host must also support HDR capture and encoding. The Steam Deck LCD’s built-in panel is not HDR-capable.
Moonlight introduced stable Steam Deck HDR support in version 6.0. You can use the stable client’s HDR setting without following older procedures that required a nightly build or special fork.
Set up controller and mouse input
Current Sunshine no longer bundles or installs a gamepad driver, so a Windows host needs one installed separately before the Deck’s controls work as a gamepad. Virtual HID Driver requires a separate driver installation, a paid machine license, and driver version 2026.914.1218.10 or newer. Sunshine also detects ViGEmBus 1.17 or newer, an end-of-life fallback limited to Xbox 360 and DualShock 4 gamepads. Then open Configuration > Input, choose All Available Drivers, and save the setting.
For mouse control through the Deck’s gamepad mapping, open Moonlight’s settings and check Enable mouse control with gamepads by holding the 'Start' button. During a stream, hold the mapped Start button to toggle mouse control.
Check connections and keep Moonlight updated
If Moonlight cannot discover your host, confirm that the Deck and computer are on the same network, then try adding the host’s IP address manually. To diagnose connectivity, open the host computer’s context menu in Moonlight and select Test Network when that option is available.
For performance statistics during a stream, press Ctrl + Alt + Shift + S using keyboard input or an equivalent Steam Input mapping. To adjust streaming quality, open Moonlight’s settings with the gear icon and change Resolution and FPS or Video bitrate: to suit your host and network.
Keep a Flatpak installation updated through Updates in Discover. Alternatively, open Konsole in Desktop Mode and run this command:
flatpak update com.moonlight_stream.MoonlightFrequently Asked Questions
Can you install Moonlight on a Steam Deck running Windows?
Yes, on a Deck already running a Windows version supported by current Moonlight, choose Windows Installer (Universal) on the official Moonlight releases page. Alternatively, extract Windows Portable x64 and run Moonlight. Pair with Sunshine using the same PIN workflow, and run the newer installer for installer-based updates.
Can Moonlight wake your gaming computer?
Yes, when your host is offline and wakeable, open its context menu in Moonlight and select Wake PC. This requires working Wake-on-LAN support on your host and network.
How do you disconnect without closing the game on your computer?
Press Ctrl + Alt + Shift + Q using keyboard input or an equivalent Steam Input mapping. Moonlight disconnects while leaving your host game running.
Do you need MoonDeck to use Moonlight?
No, MoonDeck is an optional integration for individual Steam games that requires MoonDeck Buddy on your host. In its Sunshine application entry, set Application Name to MoonDeckStream and Command to the installed MoonDeckStream executable; on Windows, this is <BuddyInstallDirectory>\bin\MoonDeckStream.exe. Uncheck Continue streaming if the application exits quickly. Complete the plugin’s one-time setup through its settings and setup instructions.