💻Prerequisite Installation

Before you begin, you should confirm that you have installed all the prerequisites below on the platform where you will be running Hyperledger Fabric.

Install Git

Download the latest version of git if it is not already installed.

sudo apt-get update
sudo apt-get install git

Install cURL

Download the latest version of the cURL tool if it is not already installed or if you get errors running the curl commands from the documentation.

sudo apt install curl

Docker and Docker Compose

You will need the following installed on the platform on which you will be operating, or developing (or for), Hyperledger Fabric:

Set up the repository

  1. Update the apt package index and install packages to allow apt to use a repository over HTTPS:

sudo apt-get update

sudo apt-get install \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
  1. Add Docker’s official GPG key:

  1. Use the following command to set up the repository:

Install Docker Engine

  1. Update the apt package index:

  1. Install Docker Engine, containerd, and Docker Compose.

To install the latest version, run:

  1. Make sure the docker daemon is running.

  1. Check if your Hello-World works fine:

  1. Install docker-compose and check its version

Install GoLang

We would need Go-Lang to run chaincodes on Hyperledger Fabric. Let's Install by running the below commands.

Let's check the go version.

Install NVM

NVM is a Node Version Manager tool. Using the NVM utility, you can install multiple node.js versions on a single system. You can also choose a specific Node version for applications.

Install Node and NPM

You can install multiple node.js versions using nvm. And use the required version for your application from installed node.js.

Let's check Node & Npm Versions

Last updated

Was this helpful?