Overview
Building Ryujinx from source is intended for developers who want to contribute code. If you just want to use the emulator, download pre-built releases instead.Prerequisites
Install .NET SDK
1
Download .NET 10.0 SDK
Install the .NET 10.0 (or higher) SDK
2
Verify SDK version
Your SDK version must meet or exceed the version specified in
global.json:global.json
3
Confirm installation
Get the Source Code
Choose one of these methods:- Git Clone (Recommended)
- Download ZIP
Building the Project
Quick Build
From the project root directory:Built files will be created in the
build/ directory.Build Configuration Options
Platform Access on Windows
Publishing Ryujinx
For a self-contained executable:- Windows x64
- Linux x64
- macOS Universal
- Linux ARM64
Self-contained builds include the .NET runtime, making them larger but not requiring .NET SDK installation on the target system.
CI Build Commands
The GitHub Actions CI uses these commands (from.github/workflows/build.yml:54):
Build
Test
Publish
System Files Location
After building, Ryujinx stores its system files in the user folder:Windows
Windows
Linux
Linux
macOS
macOS
Supported Platforms
Ryujinx builds for multiple platforms (from.github/workflows/build.yml:21-25):
Troubleshooting
SDK version mismatch
SDK version mismatch
Error: The current .NET SDK does not support targeting .NET 10.0Solution: Install .NET 10.0 SDK or higher. Verify with:
Build errors after git pull
Build errors after git pull
Solution: Clean and rebuild:
Missing dependencies
Missing dependencies
Solution: Restore NuGet packages:
Platform-specific build failures
Platform-specific build failures
Linux: Install required dependencies:macOS: Install Xcode Command Line Tools:
Build Performance Tips
IDE Setup
Visual Studio (Windows)
1
Install Visual Studio 2022
Download Visual Studio 2022 or later
2
Install .NET workload
Select the .NET desktop development workload during installation
3
Open solution
Open
Ryujinx.sln in Visual Studio4
Build
Press F6 or select Build → Build Solution
Visual Studio Code (Cross-platform)
1
Install VS Code
Download Visual Studio Code
2
Install C# extension
Install the C# Dev Kit extension
3
Open folder
Open the Ryujinx repository folder
4
Build from terminal
Use the integrated terminal:
Rider (Cross-platform)
1
Install JetBrains Rider
Download JetBrains Rider
2
Open solution
Open
Ryujinx.sln3
Build
Press Ctrl+Shift+F9 or select Build → Build Solution
Next Steps
Coding Style
Learn Ryujinx’s C# conventions
Debugging
Set up debugging tools
Testing
Run and write tests