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.
Homebrew (macOS)¶
On macOS, the easiest installation method is via Homebrew:
This installs the latest release and manages updates automatically. To upgrade later:
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 RIDDL:
[info] name: utils
[info] version: 1.2.1
[info] documentation: https://github.com/ossuminc/riddl
[info] copyright: © 2019-2026 Ossum, Inc.
[info] built at: 2026-02-01 23:24:51.835-0500
[info] licenses: Apache-2.0
[info] organization: Ossum, Inc.
[info] scala version: 3.7.4
[info] sbt version: 1.12.0
[info] jvm name: OpenJDK 64-Bit Server VM
[info] jvm version: 21.0.10
[info] operating sys: Mac OS X
Next Steps¶
- Command Reference - Learn available commands
- Configuration - Configure riddlc options
- GitHub Actions - Set up CI/CD validation