Installing the development environment

The following are the installation commands for developing the environment:

      npm install -g composer-cli@0.20
      npm install -g composer-rest-server@0.20
      npm install -g generator-hyperledger-composer@0.20
      npm install -g yo
      npm install -g composer-playground

Download and install fabric runtime for the composer as follows:

      mkdir ~/fabric-devserver && cd ~/fabric-devserver
curl -O https://raw.githubusercontent.com/hyperledger/composer-
tools/master/packages/fabric-dev-servers/fabric-dev-servers.zip
unzip fabric-dev-servers.zip
export FABRIC_VERSION=hlfv12
./downloadFabric.sh

At this step, you have installed everything required for the typical composer development environment.