Skip to content

Installation

On this page you’ll learn how to install saucer through any of the officially supported ways.

Before installing saucer, ensure your development environment meets the following requirements:

  • A C++23 compatible compiler
  • CMake (recommended installation method)

Saucer relies on certain system-level dependencies to run.
These dependencies are usually pre-installed on the respective platform.

On Windows the WebView2 Runtime is required, which comes pre-installed since Windows 11.

CPMAddPackage(
NAME saucer
VERSION v7.0.0
GIT_REPOSITORY "https://github.com/saucer/saucer"
)
target_link_libraries(${PROJECT_NAME} [PRIVATE|PUBLIC] saucer::saucer)

For those who plan on using saucer for serving their own frontend, we recommend to install the @saucer-dev/types package, which provides typed abstractions over all saucer functions.