Convenience commands for running a Cardano Node.
These scripts assume you followed the Armada Alliance environment setup.
bash <(curl -Ls https://github.com/HofmannZ/cnvm/raw/master/scripts/install.sh)After installing you can use the following commands to manage your Cardano stake pool.
Convenience alias to update your Cardano node binaries.
Installs the cardano-node, cardano-cli, and cardano-submit-api binaries. Version defaults to 8.9.4, use:
cnvm install-binariesor for a specific version:
cnvm install-binaries 8.9.2or with restart:
cnvm install-binaries --restartDownloads and patches the latest cardano config files. Defaults to relay, use:
cnvm download-config-filesor for Block Producer:
cnvm download-config-files --producerCNVM does not override your topology by default.
Use with the --topology flag to override the topology:
cnvm download-config-files --topologyDownloads the latest database snapshot from csnapshots.io. Use:
cnvm download-snapshotMake use you have stopped you cardano-node!
Or use with the --restart flag to automatically stop/start:
cnvm download-snapshot --restartUpgrades binaries and downloads the latest cardano config files. Optionally downloads the latest snapshot. Version defaults to 8.9.4, use:
cnvm upgradeor for a specific version:
cnvm upgrade 8.9.2or with snapshot:
cnvm upgrade --snapshotor for Block Producer:
cnvm upgrade --produceror with restart:
cnvm upgrade --restartThe underlying algorithm:
- Stop the cardano-node (Optional via
--restartflag). - Download the latest binaries (defaults to
8.9.4). - Download the latest node files (with the exception of the topology file).
- Download the latest database snapshot from csnapshots.io. (Optional via
--snapshotflag). - Start the cardano-node (Optional via
--restartflag).
Upgrades to the latest version of this script. Use:
cnvm upgrade-selfConvenience alias to update your system.
Wil run
sudo apt update && sudo apt upgrade -y.