mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-25 15:51:55 -06:00
741 B
741 B
title | parent | grand_parent | has_toc | nav_order | permalink |
---|---|---|---|---|---|
Building/Installing Dendrite | Manual | Installation | true | 1 | /installation/manual/build |
{% include deprecation.html %}
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:
go build -o bin/ ./cmd/...
The resulting binaries will be placed in the bin
subfolder.
Installing Dendrite
You can install the Dendrite 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