> For the complete documentation index, see [llms.txt](https://skyneticlabs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://skyneticlabs.gitbook.io/docs/services/mainnet-networks/lava/upgrade.md).

# Upgrade

#### Download and build upgrade binaries

```bash
# Clone project repository
cd $HOME

rm -rf lava
git clone https://github.com/lavanet/lava.git
cd lava
git checkout v5.3.0

# Build binaries
export LAVA_BINARY=lavad
make build

# Prepare binaries for Cosmovisor
mkdir -p $HOME/.lava/cosmovisor/upgrades/v5.3.0/bin
mv build/lavad $HOME/.lava/cosmovisor/upgrades/v5.3.0/bin/
cd $HOME/.lava/cosmovisor/upgrades/v5.3.0/bin
ls && ./lavad version
```
