# Installation

You **need** to have GO (version >= 1.18) installed and configured on your machine before attempting to compile the project.

Start by cloning the repository in your GOPATH

```
$ git clone https://github.com/lum-network/chain.git
$ cd chain && git checkout v1.6.3
```

Make sure your Go configuration looks like that one (especially the GO111Module):

```
export GOPATH=$HOME/dev/go
export GOBIN=$GOPATH/bin
export GO111MODULE=on
export PATH=$PATH:$GOBIN
```

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.6.3
commit: 4f4349bef967279608cd0cc88e4caadbd12e785c
```
