Skip to content

Environment Setup

This document explains how to set up your development environment and build Saturn from source. It describes required tools, supported platforms, dependency management, and platform-specific setup steps. You should follow this guide before attempting to configure or build the engine.


Saturn targets Windows, Linux, Web, and Android. You may ignore setup steps for platforms you do not intend to build.

On Windows, Visual Studio 2022 provides the most reliable CMake integration and debugging experience. The default compiler is MSVC, although Clang is also supported. On Linux and Web targets, Clang is the preferred compiler. Web builds rely on Emscripten.


Install Visual Studio 2022 with the following components:

  • Desktop development with C++
  • C++ CMake tools for Windows
  • MSVC v143 toolset or later
  • Windows 10 or Windows 11 SDK

Visual Studio provides first-class CMake preset support and simplifies debugging large native codebases.

Terminal window
choco install python --version 3.14.2 -y
choco install fvm --version 4.0.5 -y
choco install git --version 2.52.0 -y
choco install vscode --version 1.107.1 -y
choco install androidstudio --version 2025.2.2.8 -y

Saturn uses vcpkg in manifest mode to manage most third-party dependencies. You must install vcpkg separately, but you do not need to integrate it globally.

  1. Clone the vcpkg repository.

    Terminal window
    git clone https://github.com/microsoft/vcpkg.git
  2. Bootstrap vcpkg for your platform.

    Terminal window
    ./vcpkg/bootstrap-vcpkg.bat
  3. If required, set the VCPKG_ROOT environment variable to the vcpkg directory.


Web (Emscripten) Experimental

Section titled “Web (Emscripten) ”

Saturn uses Emscripten to target WebAssembly.

  1. Install the Emscripten SDK.

    Terminal window
    git clone https://github.com/emscripten-core/emsdk.git
    cd emsdk
    ./emsdk install latest
    ./emsdk activate latest
  2. Load the Emscripten environment.

    Terminal window
    .\emsdk_env.bat
  3. Verify that emcc is available in your PATH before running CMake.


Android Experimental

Section titled “Android ”
  1. Install Android Studio.

  2. Open the SDK Manager and install:

    • Android NDK r23 or newer
    • CMake and LLDB
    • Android SDK tools for API level 24 or later
  3. Set the ANDROID_NDK_HOME environment variable to the NDK installation path.


Claude Code AI Integration Optional

Section titled “Claude Code AI Integration ”

Saturn supports Claude Code AI integration for code generation and assistance. To install it run the following PowerShell command:

Terminal window
irm https://claude.ai/install.ps1 | iex

We use Gemini CLI in conjunction with Claude Code for improved AI capabilities. To install Gemini CLI you need Node.js:

Terminal window
choco install nodejs --version 25.2.1 -y
npm install -g @google/gemini-cli