Prerequisites¶
Docker and Docker Compose¶
You will need the following installed on the platform on which you will be operating, or developing on (or for), Hyperledger Fabric:
- MacOSX, *nix, or Windows 10: Docker v1.12 or greater is required.
- Older versions of Windows: Docker Toolbox - again, Docker version v1.12 or greater is required.
You can check the version of Docker you have installed with the following command from a terminal prompt:
docker --version
Note
Installing Docker for Mac or Windows, or Docker Toolbox will also install Docker Compose. If you already had Docker installed, you should check that you have Docker Compose version 1.8 or greater installed. If not, we recommend that you install a more recent version of Docker.
You can check the version of Docker Compose you have installed with the following command from a terminal prompt:
docker-compose --version
Go Programming Language¶
Hyperledger Fabric uses the Go programming language 1.7.x for many of its components.
Node.js Runtime and NPM¶
If you will be developing applications for Hyperledger Fabric leveraging the Fabric SDK for Node.js, you will need to have version 6.9.x of Node.js installed.
Note
Installing Node.js will also install NPM, however it is recommended
that you update the default version of NPM installed. You can upgrade
the npm
tool with the following command:
npm install npm@latest -g
Windows extras¶
If you are developng on Windows, you may also need the following which provides a better alternative to the built-in Windows tools:
- Git Bash
- make for MinGW to be added to Git Bash