cd $HOME/cheqd-node
git pull
git checkout v3.1.8
make build
mv $HOME/cheqd-node/build/cheqd-noded $(which cheqd-noded)
cheqd-noded version --long | grep -e version -e commit
#commit: ae5e5e7fcd2f08439efcd153c34ce6fde4b51c66
#version: HEAD-ae5e5e7fcd2f08439efcd153c34ce6fde4b51c66
sudo systemctl restart cheqd-noded && sudo journalctl -fu cheqd-noded -o cat