Skip to main content

CLI reference

All RBS commands run on your branch server via the integrated terminal in your code editor or through the command palette. Commands execute on the server, not on your local machine.

Global options

These options can be used with any RBS command:

rbs build

Build one or more targets.

Syntax

Target patterns

Examples


rbs run

Build and execute a single target.

Syntax

Examples


rbs test

Build and run test targets.

Syntax

Options

Examples

Test output

Test results are displayed inline in your editor and stored on the server:

rbs coverage

Run tests with code coverage analysis.

Syntax

Options

Examples

Coverage results are highlighted directly in your editor — green for covered lines, red for uncovered.

rbs workspace

Display workspace information including targets, configurations, and server status.

Syntax

Sample output


rbs ci

Run CI workflows.

Syntax

Options

Examples


rbs infra

Manage infrastructure provisioning.

Syntax

Subcommands

Options

Examples


rbs agent

Start the built-in AI coding agent — an interactive assistant that can read, edit, build, test, and deploy your codebase through natural language. See Coding agent for full documentation.

Syntax

Flags

Examples


rbs agent-builder

Build, serve, and test custom AI agents defined in your BUILD.rbs files. See Agent Builder SDK for full documentation.

Syntax

Subcommands

Examples


rbs distributed

Manage distributed build execution.

Syntax

Subcommands

Examples


Exit codes


Common workflows

Development cycle

PR workflow