Source code

This section describes how to update Lisk Core from source code.

  1. Stop the node by executing the following command:

pm2 stop lisk
  1. Pull the latest tagged release using Git, and install node modules as shown below in the following commands:

cd lisk (1)
git fetch (2)
git checkout vX.Y.Z -b vX.Y.Z (3)
rm -rf node_modules (4)
npm ci (5)
npm run build (6)
1 Navigate into the root directory of Lisk Core.
2 Fetch the latest releases.
3 To view the latest release tag, please see Lisk Core releases.
4 Remove old node modules.
5 Install node modules.
6 Compile packages.
  1. Start the node again by executing the following command below:

pm2 start lisk
For delegates: It is mandatory to enable forging again after upgrading Lisk Core.