Skip to content
Cosmopediaby Unity Nodes
DiscussionsMiscellaneousCosmup: install, switch and check Cosmos chain binaries (like nvm, for gaiad/osmosisd/...)Forum ↗

Cosmup: install, switch and check Cosmos chain binaries (like nvm, for gaiad/osmosisd/...)

Miscellaneous1 posts4 viewsLast activity 1h ago
IG
IgnismeowOP
1h ago

Hi all, If you work with more than one Cosmos chain, you’ve probably hit this: chain binaries don’t update themselves. After a network upgrade, the gaiad or osmosisd on your machine quietly goes stale, and you find out when a transaction fails or a query returns something odd. Cosmovisor solves this for running nodes, but nothing did for developers, CLI users and CI. I built cosmup to fill that gap. It’s a small Go CLI that reads the Cosmos chain registry, downloads the right binary for your platform, verifies its SHA256, and keeps versions side by side. ``` $ cosmup check osmosis Local: v30.0.0 (/usr/local/bin/osmosisd) Network: v31.0.0 (via https://lcd.osmosis.zone) Status: does not match the network; run: cosmup install osmosis@v31.0.0 $ cosmup install osmosis Verified sha256 d435408b... Active: osmosis v31.0.0 ``` What it does: • install / use / list: install any version listed in the chain registry, switch between installed versions instantly • check: compares your local binary with the version the live network runs, and shows scheduled upgrades (exits 1 on mismatch, so it works in CI) • update: moves every installed chain to its recommended…

Excerpt (1193 of 2313 characters). Read the whole post on the forum ↗

← Back to Discussions