# Downloading and installing Binarycd $HOMEgitclonehttps://github.com/0glabs/0g-chain.gitcd0g-chaingitpullgitcheckoutv0.4.0makeinstall# Making New Binary Directory and Copying the Daemonmkdir-p $HOME/.0gchain/cosmovisor/upgrades/v0.4.0/binsudocp $HOME/go/bin/0gchaind $HOME/.0gchain/cosmovisor/upgrades/v0.4.0/bin/#Stop og daemonsudosystemctlstopog#creating symlink to new binariesls-l $HOME/.0gchain/cosmovisor/currentrm $HOME/.0gchain/cosmovisor/currentln-s $HOME/.0gchain/cosmovisor/upgrades/v0.4.0 $HOME/.0gchain/cosmovisor/current#starting ogsudosystemctlstartog&&sudojournalctl-uog-f-ocat