2022-05-11 09:39:36 -05:00
|
|
|
---
|
|
|
|
title: Installing as a monolith
|
|
|
|
parent: Installation
|
|
|
|
has_toc: true
|
|
|
|
nav_order: 5
|
|
|
|
permalink: /installation/install/monolith
|
|
|
|
---
|
|
|
|
|
|
|
|
# Installing as a monolith
|
|
|
|
|
|
|
|
You can install the Dendrite monolith binary into `$GOPATH/bin` by using `go install`:
|
|
|
|
|
|
|
|
```sh
|
2023-03-03 03:20:53 -06:00
|
|
|
go install ./cmd/dendrite
|
2022-05-11 09:39:36 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
Alternatively, you can specify a custom path for the binary to be written to using `go build`:
|
|
|
|
|
|
|
|
```sh
|
2023-03-03 03:20:53 -06:00
|
|
|
go build -o /usr/local/bin/ ./cmd/dendrite
|
2022-05-11 09:39:36 -05:00
|
|
|
```
|