Lisk Core commands

Install and manage an instance of Lisk Core.

The commands for Lisk Core are not compatible with other distributions or with installations from the Lisk Core binary script. To manage Lisk Core with Lisk Commander, first uninstall the old version and perform a fresh installation.

lisk core:install NAME

Install an instance of Lisk Core.

Install an instance of Lisk Core.

USAGE
  $ lisk core:install NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

OPTIONS
  -n, --network=mainnet|testnet|betanet|alphanet|devnet  [default: mainnet] Lisk Core network name.
  -r, --release-url=release-url                          Lisk Core download URL.

  -s, --snapshot-url=snapshot-url                        [default:
                                                         https://downloads.lisk.io/lisk/mainnet/blockch
                                                         ain.db.gz] Lisk Core blockchain snapshot URL.

  --lisk-version=lisk-version                            Lisk Core version.

  --no-snapshot                                          Install Lisk Core without a blockchain
                                                         snapshot.

  --no-start                                             Install Lisk Core without starting.

EXAMPLES
  core:install lisk-mainnet
  core:install --no-start lisk-mainnet
  core:install --no-snapshot lisk-mainnet
  core:install --lisk-version=2.0.0 lisk-mainnet
  core:install --network=testnet
  --release-url=https://downloads.lisk.io/lisk/mainnet/1.6.0/lisk-1.6.0-Linux-x86_64.tar.gz lisk-mainnet
  core:install --network=mainnet --snapshot-url=https://downloads.lisk.io/lisk/mainnet/blockchain.db.gz custom-mainnet

lisk core:logs NAME

Stream logs of a Lisk Core instance.

USAGE
  $ lisk core:logs NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:logs mainnet-latest

lisk core:restart NAME

Restart Lisk Core instance.

USAGE
  $ lisk core:restart NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:restart mainnet-latest

lisk core:start NAME

Start Lisk Core instance.

USAGE
  $ lisk core:start NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:start mainnet-latest

COMMANDS
  core:start:cache     Start the cache server.
  core:start:database  Start the database server.

lisk core:start:cache NAME

Start the cache server.

USAGE
  $ lisk core:start:cache NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:start:cache mainnet-latest

lisk core:start:database NAME

Start the database server.

USAGE
  $ lisk core:start:database NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:start:database mainnet-latest

lisk core:status NAME

Show the status of a Lisk Core instance.

USAGE
  $ lisk core:status [NAME]

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLES
  core:status
  core:status mainnet-latest

lisk core:stop NAME

Stop a Lisk Core instance.

USAGE
  $ lisk core:stop NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:stop mainnet-latest

COMMANDS
  core:stop:cache     Stop the cache server.
  core:stop:database  Stop the database server.

lisk core:stop:cache NAME

Stop the cache server.

USAGE
  $ lisk core:stop:cache NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:stop:cache mainnet-latest

lisk core:stop:database NAME

Stop the database server.

USAGE
  $ lisk core:stop:database NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:stop:database mainnet-latest

lisk core:uninstall NAME

Uninstall an instance of Lisk Core.

USAGE
  $ lisk core:uninstall NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

EXAMPLE
  core:uninstall mainnet-latest

lisk core:upgrade NAME

Upgrade an instance of Lisk Core, to a specified or latest version.

The core:upgrade command is only supported for Lisk Core versions > 2.0.0.
USAGE
  $ lisk core:upgrade NAME

ARGUMENTS
  NAME  Lisk Core installation directory name.

OPTIONS
  -r, --release-url=release-url  Lisk Core download URL.
  --lisk-version=lisk-version    Lisk Core version.

EXAMPLES
  core:upgrade lisk-mainnet
  core:upgrade --lisk-version=2.0.0 lisk-mainnet
  core:upgrade --release-url=https://downloads.lisk.io/lisk/mainnet/2.1.0/lisk-2.1.0-Linux-x86_64.tar.gz lisk-mainnet