Lisk Core with Lisk Commander Command reference

This section covers how to work with a Binary installation of Lisk Core. Further information can be found by referring to the following commands reference list.

Basic Commands

The available basic commands which can be used to manage your Lisk node are displayed here below:

Install

For more information, please see the Setup page of Lisk Core with Lisk Commander.
  • Mainnet

  • Testnet

lisk core:install lisk-mainnet
lisk core:install --network=testnet lisk-testnet

Uninstall

  • Mainnet

  • Testnet

lisk core:uninstall lisk-mainnet
lisk core:uninstall lisk-testnet

Status

Check the status of the Lisk Core Node.

  • Mainnet

  • Testnet

lisk core:status lisk-mainnet
lisk core:status lisk-testnet

Upgrade

For more information, please see the Upgrade page of Lisk Core with Lisk Commander.
  • Mainnet

  • Testnet

lisk core:upgrade lisk-mainnet
lisk core:upgrade lisk-testnet

Start

Start Lisk Core and PostgreSQL.

  • Mainnet

  • Testnet

lisk core:start lisk-mainnet
lisk core:start lisk-testnet

Stop

Stop Lisk Core and PostgreSQL.

  • Mainnet

  • Testnet

lisk core:stop lisk-mainnet
lisk core:stop lisk-testnet

Restart

Reload Lisk Core and pick up changes to config.json.

  • Mainnet

  • Testnet

lisk core:restart lisk-mainnet
lisk core:restart lisk-testnet

Logs

Monitor,(tail) the log file of Lisk.

  • Mainnet

  • Testnet

lisk core:logs lisk-mainnet
lisk core:logs lisk-testnet

Help

To access the Help menu please execute the following command listed below:

lisk core

Advanced Commands

The advanced commands which can be used to manage your Lisk node, can be seen in the commands reference list below:

Start database only

This command is used to start database instances apart from the Lisk process.

  • Mainnet

  • Testnet

lisk core:start:database lisk-mainnet
lisk core:start:database lisk-testnet

Stop database only

This command is used to stop all database instances apart from the Lisk process.

  • Mainnet

  • Testnet

lisk core:stop:database lisk-mainnet
lisk core:stop:database lisk-testnet

Start cache only

This command is used to start caching apart from the Lisk process.

  • Mainnet

  • Testnet

lisk core:start:cache lisk-mainnet
lisk core:start:cache lisk-testnet

Stop cache only

This command is used to stop all caching apart from the Lisk process.

  • Mainnet

  • Testnet

lisk core:stop:cache lisk-mainnet
lisk core:stop:cache lisk-testnet