Binary setup

The binary installation offers an easy and automated approach to set up Lisk Core.

Pre-installation

To complete the installation some prerequisites need to be fulfilled. If you have already performed these, please proceed to the Installation chapter.

Requirements

Supported Platforms
  • Ubuntu 18.04 (LTS) x86_64

  • Ubuntu 20.04 (LTS) x86_64

  • MacOS x86_64

Installation

This section details how to install Lisk Core using pre-built application packages. Once completed, you will have a functioning node on the Lisk Network.

Download and execute the installation script

Download Lisk Core:

  • Ubuntu

  • MacOS

curl -o lisk-core.tar.gz https://downloads.lisk.io/lisk/betanet/3.0.0-beta.5/lisk-core-v3.0.0-beta.5-linux-x64.tar.gz
curl -o lisk-core.tar.gz https://downloads.lisk.io/lisk/betanet/3.0.0-beta.5/lisk-core-v3.0.0-beta.5-darwin-x64.tar.gz

Unpack it, and add it to the system path, in order to use it in the terminal:

tar -xf ./lisk-core.tar.gz
cd lisk-core
./bin/lisk-core

You can make the lisk-core command available in the PATH, e.g. by executing

export PATH="$PATH:$HOME/lisk-core/bin"

Verify successful installation

To verify that your Lisk node is up and running, execute the following commands:

lisk-core start --network betanet

Post-installation (optional)

Use pm2 to run Lisk Core in the background

It is recommended to use a process manager like PM2 to run Lisk Core in the background.

Check the guide Process management with pm2 for more information.

Log rotation

It is recommended to set up a log rotation, because the log of Lisk Core files can grow very big over time.

Check the guide Managing logs in the SDK docs for more information.