This document details the prerequsities to install Lisk Node from a Source installation using tagged releases on Github.

Determine if your platform can install Lisk Core from source.

Supported Platforms
  • Ubuntu 14.04 x86_64
  • Ubuntu 16.04 (LTS) x86_64
Not Supported
  • Windows

Prerequisite Program Installations

Tool chain components,used for compiling dependencies.

sudo apt-get install -y python build-essential curl automake autoconf libtool

Git, used for cloning and updating Lisk

sudo apt-get install -y git

Node.js , serves as the underlying engine for code execution. Installed system wide via the package manager.

curl -sL | sudo -E bash -
sudo apt-get install -y nodejs

Locally using nvm.

curl -o- | bash
source ~/.bashrc
nvm install v6.10.1

Install PostgreSQL (version 9.6.2).

curl -sL "" | bash -
sudo -u postgres createuser --createdb $USER
sudo -u postgres createdb lisk_test
sudo -u postgres createdb lisk_main
sudo -u postgres psql -d lisk_test -c "alter user "$USER" with password 'password';"
sudo -u postgres psql -d lisk_main -c "alter user "$USER" with password 'password';"

Bower, helps to install required JavaScript dependencies.

npm install -g bower

Grunt.js, is used to compile the frontend code and serves other functions.

npm install -g grunt-cli

PM2, manages the node process for Lisk. (optional)

npm install -g pm2

What's next?