Process management with pm2

It is recommended to set up additional process management with the new Lisk Core CLI. Any process management tool can be used to manage the Lisk Core node. We recommend using PM2 to manage the instance.


# Install pm2 globally
npm i -g pm2

PM2 config

Create a pm2 config as below for example:

  "name": "lisk-core",
  "script": "lisk-core start",
  "env": {
    "LISK_NETWORK": "betanet",
    "LISK_CONFIG_FILE": "custom-config.json"
All available options for scripts and env can be found in lisk-core start --help.

Starting Lisk Core with PM2

Now start the node using the config:

pm2 start pm2.conf.json

For more information, please refer to