# Building from source

## Building from source

Prerequisites:

* Install [Go](https://golang.org/doc/install) (currently, our builds are done for Golang v1.18)

To build the executable, run:

```bash
make proto-gen
make swagger
make build
```

## Build using Docker

We have an [in-depth guide for making custom Docker image builds](https://docs.cheqd.io/node/developing-on-cheqd/build-and-networks/docker-build).

## Running a localnet using Docker Compose

We also have an [in-depth guide on running a localnet with multiple nodes](https://docs.cheqd.io/node/developing-on-cheqd/build-and-networks/docker-localnet) using Docker / Docker Compose.
