matrix-org.dendrite/docs/installation/3_build.md

747 B

title parent has_toc nav_order permalink
Building Dendrite Installation true 3 /installation/build

Build all Dendrite commands

Dendrite has numerous utility commands in addition to the actual server binaries. Build them all from the root of the source repo with build.sh (Linux/Mac):

./build.sh

or build.cmd (Windows):

build.cmd

The resulting binaries will be placed in the bin subfolder.

Installing as a monolith

You can install the Dendrite monolith binary into $GOPATH/bin by using go install:

go install ./cmd/dendrite

Alternatively, you can specify a custom path for the binary to be written to using go build:

go build -o /usr/local/bin/ ./cmd/dendrite