sudo systemctl stop gaiad
sudo rm -f $HOME/.gaia/cosmovisor/genesis/bin/gaiad
cd $HOME
rm -rf gaia
git clone https://github.com/cosmos/gaia.git
cd gaia
git checkout v13.0.0
make install
sudo mv $HOME/go/bin/gaiad $HOME/.gaia/cosmovisor/genesis/bin/
sudo systemctl start gaiad