All apps/Rebar3

Rebar3

rebar3

An Erlang build tool

Runs as rebar3|macOS, Linux, Windows|rebar3.org

Command form

ai-draft · 5 tasks · 13 fields

The common rebar3 jobs: compile, clean, run EUnit or Common Test, and create a project from a template. Releases, dialyzer, plugins and profiles are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui rebar3

rebar3 compile

Compile the project

Compile project apps and dependencies.

Compile the projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Dependencies only
--deps_only
TasksEach one presets the form for one job
Compile the project
deps_only
ParametersOnly these flags are editable in the form
Dependencies only
boolean
--deps_only-d

rebar3 clean

Clean build output

Remove compiled BEAM files.

Clean build outputExample values, fixed in this page — nothing here reaches a terminal
Basic
Include dependencies
--all
Apps (comma separated)
string
TasksEach one presets the form for one job
Clean build output
allapps
ParametersOnly these flags are editable in the form
Include dependencies
boolean
--all-a
Apps (comma separated)
string
--apps

rebar3 eunit

Run EUnit tests

Run EUnit tests on project apps.

Run EUnit testsExample values, fixed in this page — nothing here reaches a terminal
Basic
Applications (comma separated)
string
Generate cover data
--cover
TasksEach one presets the form for one job
Run EUnit tests
applicationcover
ParametersOnly these flags are editable in the form
Applications (comma separated)
string
--application
Generate cover data
boolean
--cover-c

rebar3 ct

Run Common Test

Run Common Test suites under test/.

Run Common TestExample values, fixed in this page — nothing here reaches a terminal
Basic
Suites (comma separated paths)
string
Groups (comma separated)
string
Cases (comma separated)
string
Generate cover data
--cover
Verbose
--verbose
TasksEach one presets the form for one job
Run Common Test
suitegroupcasecoververbose
ParametersOnly these flags are editable in the form
Suites (comma separated paths)
string
--suite
Groups (comma separated)
string
--group
Cases (comma separated)
string
--case
Generate cover data
boolean
--cover-c
Verbose
boolean
--verbose-v

rebar3 new

Create a project

Create a project from a template such as app, lib or release.

Create a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Template*
string
Project name*
string
TasksEach one presets the form for one job
Create a project
templatename
ParametersOnly these flags are editable in the form
Template
string · positional 0
applibrelease
Project name
string · positional 1
Overwrite existing files
boolean
--force-f
SourcesEvery flag above is checked against these
docs
compile -d/--deps_only Only compile dependencies, no project apps will be built
manual2026-10-27

rebar3.org

docs
clean --all/-a Clean all apps, including the dependencies --apps Clean a specific list of apps or dependencies
manual2026-10-27

rebar3.org

docs
eunit --application Application test suites to run. -c, --cover Generate cover data. Defaults to false
manual2026-10-27

rebar3.org

docs
ct --suite Compile and run all test suites specified. --group Test groups to run. --case List of test cases to run. --cover, -c --verbose, -v
manual2026-10-27

rebar3.org

docs
rebar3 new <template> <project-name> --force, -f Overwrite existing files.
manual2026-10-27

rebar3.org

Before it fills your prompt, Otty checks the installed rebar3 against its version. A form that does not match your version is not offered.