Installing riddlc¶
This guide covers the various ways to install riddlc on your system.
Download a Release¶
The easiest way to get started is to download a pre-built release:
- Go to GitHub Releases
- Download the
.zipasset for your platform (under "Assets") - Unpack the archive:
- Add the
bindirectory to your PATH: - Verify installation:
Note
Not all releases include pre-built assets. If no asset is available for your desired version, you'll need to build from source.
Build from Source¶
Building from source requires JDK 25 and sbt.
Prerequisites¶
Install JDK 25:
Download from Adoptium and run the installer
Install sbt:
Follow sbt setup instructions
Build Steps¶
# Clone the repository
git clone https://github.com/ossuminc/riddl.git
cd riddl
# Compile and stage the executable
sbt "riddlc/stage"
# The executable is now at:
# riddlc/jvm/target/universal/stage/bin/riddlc
Add to PATH¶
Add the staged executable to your PATH:
For permanent installation, add this to your shell profile (.bashrc, .zshrc,
etc.).
Create Universal Package¶
To create a portable package you can distribute:
This creates a .zip file in riddlc/target/universal/ that can be unpacked
on any system with a compatible JVM.
Verify Installation¶
After installation, verify that riddlc is working:
You should see output like:
[info] About riddlc:
[info] name: riddlc
[info] version: 1.1.2
[info] documentation: https://riddl.tech
[info] copyright: © 2019-2026 Ossum Inc.
[info] licenses: Apache License, Version 2.0
[info] organization: Ossum Inc.
[info] scala version: 3.3.7
Next Steps¶
- Command Reference - Learn available commands
- Configuration - Configure riddlc options
- GitHub Actions - Set up CI/CD validation