Quick start
From an empty folder to a flow that runs on a schedule, in about five minutes. You need TRUSS installed and a terminal.
1. Make a project
Section titled “1. Make a project”In the folder of your project, run:
$ truss initSet up TRUSS in this folder. Press Enter to take the answer in [brackets].Name of the project [demo]:What should the flow do? 1) go - Go module: vet, test and build (found go.mod) ...Choose [1]:Name of the flow [build]:How should it start? 1) by hand (truss run build) 2) on a schedule 3) when files changeChoose [1]:Show a desktop notification when it fails? (y/n) [n]:created truss.yamlcreated .truss/flows/build.yaml (Go module: vet, test and build)Every question has a suggestion; press Enter to take it. truss init --yes takes them all.
You now have a project:
demo/├── truss.yaml # names the project└── .truss/ └── flows/ └── build.yaml # your flow; commit itPrefer to write the files yourself? A project needs a truss.yaml:
version: "1"project: name: demoand a flow in .truss/flows/:
version: "1"flow: name: hellosteps: - id: greet run: echo "Hello from TRUSS"2. Check it
Section titled “2. Check it”$ truss validatetruss.yaml is valid: project demo.truss/flows/hello.yaml is valid: flow hello, 1 steps, concurrency 1step greettruss validate reads your files and reports mistakes. It runs nothing.
3. Run it
Section titled “3. Run it”Run the flow by its file name, from the project folder:
$ truss run hello2026-11-16 09:00:00 ==== Setup: the environment the steps run in ====2026-11-16 09:00:00 setup environment ready2026-11-16 09:00:00 setup os linux2026-11-16 09:00:00 setup arch amd642026-11-16 09:00:00 setup shell /bin/sh2026-11-16 09:00:00 setup directory /home/me/demo2026-11-16 09:00:00 ==== Step greet ====2026-11-16 09:00:00 step greet started2026-11-16 09:00:00 step greet | Hello from TRUSS2026-11-16 09:00:00 step greet finished duration 0.006s exit 02026-11-16 09:00:00 ==== Summary ====2026-11-16 09:00:00 summary succeeded steps 1 duration 0.006sThe ==== lines mark the setup, each step and the summary. What your command prints starts with
step <id> |. TRUSS keeps the log in .truss/state/hello/run.log; it adds a .truss/.gitignore
so git ignores state/ and nothing else.
If the flow fails, truss run exits with 1, and it tells you how to run just the failed step.
4. Run steps in order, or side by side
Section titled “4. Run steps in order, or side by side”A step can wait for others with needs. Steps that do not wait for each other run together, up
to concurrency.
version: "1"flow: name: ci concurrency: 2steps: - { id: lint, run: echo "lint ok" } - { id: test, run: echo "tests ok" } - { id: package, run: echo "packaging", needs: [lint, test] }lint and test start together; package starts when both succeeded. The first failed step
fails the run and stops the rest.
5. Let the daemon run it
Section titled “5. Let the daemon run it”The daemon is a background service. It runs flows on a schedule and keeps their history. Add a schedule to the flow:
on: schedule: - cron: "30 1 * * *" # every day at 01:30Start the daemon and tell it about your flows:
$ truss daemon startdaemon started (pid 4242, 127.0.0.1:7878)
$ truss register --allregistered ci (/home/me/demo/.truss/flows/ci.yaml)registered hello (/home/me/demo/.truss/flows/hello.yaml)registered 2 flows (1 with schedules)
$ truss schedules$ truss trigger ci --follow # run it now, and watch$ truss runs # the historyThe daemon does not start by itself after a restart. Run truss daemon install once and it starts
every time you log in.
6. Open TRUSS Desktop
Section titled “6. Open TRUSS Desktop”$ truss desktopTRUSS Desktop opens in your browser: your flows, every run as a graph, and the live log.