Lisk Core Source Upgrade

This section details how to upgrade Lisk Core from source.

  1. Stop the node:

pm2 stop lisk
  1. Pull the latest tagged release using Git and install node modules.

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 newest releases
3 check out latest release tag, 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: You need to enable forging again after upgrading Lisk Core.