Rant Cli
rant is the command that makes, builds, runs and inspects Rant projects. rant --help
lists every command, and rant <command> --help explains one.
Every day
rant new workspace --lang python # start a project, or --lang cpp, csharp
rant build # build it
rant run ExampleGroup # start a group of nodes
rant ls nodes # see what is running
rant log ExampleGroup -f # follow what the nodes print
rant restart ExampleGroup # rebuild and start again
rant stop ExampleGroup # stop themRun at every boot
A workspace lists its services in workspace.rant, each a group with what an include takes:
param values, domain, prefix, node_prefix and restart.
service "ExampleGroup" {}
service "Hmi" {
project = "line-hmi"
}
service "Hmi" {
project = "test-hmi"
port = 6770
domain = 3
node_prefix = "test" # test/hmi, so it runs beside the first
}Two services of one group need a node_prefix on one of them, since a workspace runs one node
of each name.
rant run # start every service now
rant enable # and every time the computer starts
rant enable ExampleGroup # add a group to the services, then enable
rant ls services # each service and whether it runs
rant disable ExampleGroup # stop it and take it off the list
rant disable # stop them all and no longer start themThe first rant enable on a computer asks for admin once. rant enable --login starts the
services when you log in instead, for one that needs your desktop. Outside every workspace
the list is ~/.rant/services.rant. One rant process restarts the nodes whose group sets
restart. rant stop and rant restart with nothing named leave the services of an
enabled workspace running, so name one to stop it.
Look at the mesh
rant ls # every topic, variable, function and task
rant sub Pose # watch a topic
rant sub Grip # watch every call to a function or task
rant info Pose # what it is and who uses it
rant explore # open the visual debuggerRecord and play
rant record 'Cam/*' Odom # until Ctrl-C, or --duration 60
rant ls recordings
rant play 2026-11-05_09-30-00Z --speed 2
rant play 2026-11-05_09-30-00Z --prefix ReplayA recording is an MCAP file in the workspace's recordings folder. Play moves every
recorded time to now, faster or slower with --speed. It refuses names a live node sends,
so play beside them under --prefix or on another --domain.
Install packages
rant ls packages --available # what there is
rant install explorer # the visual debugger
rant install someone/rant-tool # any GitHub repo, or its link
rant remove explorerpack.rantlib.dev shows every package with its README.
Add libraries
rant add # Rant into the package here
rant add rant cam --version 0.0.39
rant install rant math # in the Arduino sketchbook, for every sketch
rant install plcnext # in PLCnext Engineer's user libraries
rant ls libraries # what each package usesKeep it current
rant update # the CLI, installed packages and libraries
rant setup # tab completion for your shell
rant uninstall # remove it all, workspaces stay