steps to install cryptogen tool for hyperledger fabric node setup?

For Linux users: The installation process of binaries tools for Hyperledger Fabric is captured in the download platform-specific binaries section.

You need to run:

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/release/scripts/bootstrap-1.0.0.sh | bash

It will download required files. Make sure you have all prerequisite installed and configured as well.

For MacOSX users: you can also use Homebrew to install the Hyperledger Fabric binaries:

brew tap hyperledger/fabric
brew install fabric-tools

In case you are working with source code base you can simply compile it with

make cryptogen

it will be available at ./build/bin/cryptogen folder