Skip to main content

Upgrade

Chain ID: osmo-test-5 | Current Node Version: 27.0.0-rc1

With Cosmovisor

Clone Osmosis repository

cd $HOME
rm -rf osmosis
git clone https://github.com/osmosis-labs/osmosis.git
cd osmosis
git checkout 27.0.0-rc1

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.osmosisd/cosmovisor/upgrades/27.0.0-rc1/bin
mv build/osmosisd ~/.osmosisd/cosmovisor/upgrades/27.0.0-rc1/bin/
rm -rf build

Without Cosmovisor

Clone Osmosis repository

cd $HOME
rm -rf osmosis
git clone https://github.com/osmosis-labs/osmosis.git
cd osmosis
git checkout 27.0.0-rc1

Build binaries

make install

Restart node and check logs

sudo systemctl restart osmosisd && sudo journalctl -u osmosisd -f --no-hostname -o cat