Source update

This section details how to upgrade Lisk Core from source.

  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 Check out latest release tag, please see core releases.
4 Remove old node modules.
5 Install node modules.
6 Compile packages.
  1. Start the node again:

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