Skip to main content
RBS (ReasonOS Build System) is a self-contained build system that manages all toolchains internally and provides hermetic builds. This is the exhaustive command reference — every command and flag, exactly as the CLI reports them.

Target labels and patterns

Most commands that operate on build targets accept labels in the same syntax: build, test, run, and coverage also accept a natural syntax — a package path followed by one or more target names:

Global flags

These flags are accepted by every command. Per-command flag tables on the other pages omit them (along with -h, --help, which every command supports).
Inside rbs infra, -e/--env takes a different meaning: it is an alias for the infra workspace (--workspace), e.g. dev, staging, prod. See rbs infra.

Shell completion

rbs completion [bash|zsh|fish|powershell] generates an autocompletion script for your shell. rbs help [command] prints help for any command — equivalent to rbs <command> --help.

All commands

Build

Workspace

Platform

Operations