Skip to content

orelvis15/cvm

Repository files navigation

CVM - Cardano Version Manager

Version Management System for Cardano Pools.

This CLI is implemented based on the scripts generated by the community, with the aim of facilitating a little more the management of changes between versions of cardano node.

Support

OS BASH ZSH FISH
Ubuntu Yes Coming Soon Coming Soon
Debian Yes Coming Soon Coming Soon
centos not tested Coming Soon Coming Soon
RedHat not tested Coming Soon Coming Soon
Fedora not tested Coming Soon Coming Soon
Rasbian not tested Coming Soon Coming Soon

Install CVM Release

curl https://raw.githubusercontent.com/orelvis15/cvm/master/install.sh -sSf | bash && source "$HOME"/.cvm/env

Install CVM Debug

curl https://raw.githubusercontent.com/orelvis15/cvm/master/install.sh -sSf | bash -s -- debug && source "$HOME"/.cvm/env

Prepare Pool

Prepare the server to be able to run cardano-node.

  • Install all necessary dependencies.
  • Create the community-proposed folder structure in prepare.sh and other extras.
  • Download all the configuration files depending on the network we select (mainnet by default)
  • Download all the scripts that the community offers us

Prepare pool for mainnet

cvm init or cvm init mainnet

Prepare pool for testnet

cvm init testnet

Install cardano node

Build the version of cardano node passed by parameters, by default the latest version is built.

build the x.x.x version

cvm install x.x.x

build last version

cvm install

List install versions

List all version installed.

cvm list or cvm -l

Use versions

Start using the version passed by parameters. This command creates the relevant services for the operation of the cardano node

cvm use x.x.x

Remove version

Delete the specified version

cvm remove x.x.x

Start or Stop node

To start or stop the cardano node use cvm start or cvm stop

Update cvm

Update CLI to the latest version

cvm update

Update config

Update configuration files and scripts without removing those that have been manually modified

cvm config update

If you want to force the update of all configuration files and scripts

cvm config update -f

Clear cache

Clear cache files of cabal, ghc and cardano build

cvm clean

Acknowledgment

About

Cardano version manager

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published