donmai docs
Getting started

Homebrew (macOS and Linux)

The recommended way to install donmai on macOS and Linux is via Homebrew:

brew install donmai

Verify the installation:

donmai --version

launchd service (macOS)

When you install donmai via Homebrew on macOS, the daemon is registered as a launchd service with the label dev.donmai.daemon. You can manage it directly:

# Start the daemon
donmai daemon start

# Stop the daemon
donmai daemon stop

# Check daemon status
donmai daemon status

npm (global install)

If you prefer npm or are on a platform without Homebrew:

npm install -g donmai

Build from source

Building from source requires Go 1.22 or later.

git clone https://github.com/RenseiAI/donmai
cd donmai
go build -o donmai ./cmd/donmai

Move the binary somewhere on your $PATH:

mv donmai /usr/local/bin/

For full build instructions, including cross-compilation targets and release build flags, see the source repository.

Next steps

Once donmai is installed, run your first workflow.

On this page