Skip to Content
Amaru

Build from source

Clone the Amaru repository, install the tools its checks need, run make check, and try the partial amaru serve Platform binary on Linux.

There is no ready-to-install release of Amaru. This page is for exploring the code: running the repository's checks and the partial amaru binary.

Before you begin

ToolNeeded for
GitEverything. On Windows, clone with symlinks enabled.
Go 1.27 or newer (or Go 1.21+ with GOTOOLCHAIN=auto, which downloads 1.27)All Go targets
buf (verified with 1.69.0)make contracts-proto
Node.js 22.18 or newer and pnpmmake contracts-ts and make sdk-ts
PostgreSQL 16 or newermake platform-test-pg and amaru serve
git clone -c core.symlinks=true https://github.com/amaru-oss/amaru.git

Run the checks

make check        # every check below, except the PostgreSQL tests
make docs-check   # documentation checks only

make check runs fmt, vet, test, docs-check, the spike checks, contracts-test, contracts-proto, contracts-ts, sdk-ts and platform-test, so it needs every tool in the table except PostgreSQL. Each target is described in Development.

The amaru binary (Linux)

services/platform/cmd/amaru implements amaru serve and amaru open on Linux; other platforms exit with a static message. From services/platform:

go build -o /tmp/amaru ./cmd/amaru
AMARU_DATABASE_URL='postgres://amaru@127.0.0.1:5432/amaru' /tmp/amaru serve
  • amaru serve runs the compact Platform in the foreground. It reads one setting, AMARU_DATABASE_URL, a PostgreSQL 16 or newer connection string, and never prints or logs it.
  • amaru open, in a Linux desktop session with xdg-open, hands a single-use launch URL to the default browser. It requires a running Instance.

Not production-ready

There is no bundled PostgreSQL child, messaging/outbox or Execution stage, so Steps accepted over the API stay queued. This is not the Amaru Light amaru serve; see Compare the projects.

Based on README.md, docs/engineering/validation.md and services/platform/README.md.

Next steps

On this page