You need to have GO (version >= 1.18 and <= 1.19) installed and configured on your machine before attempting to compile the project.
Start by cloning the repository in your GOPATH
$ git clone
$ cd chain && git checkout v1.4.5
Make sure your Go configuration looks like that one (especially the GO111Module):
export GOPATH=$HOME/dev/go
export GOBIN=$GOPATH/bin
export GO111MODULE=on
Then compile (this will take care of installing the binaries in the PATH once compiled)
$ make install
You should always use the latest version
$ lumd version --long
name: lum
server_name: lumd
version: 1.4.5
commit: 4a368f01be1bd87f2fa203b79da8779c5493e1c3