github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/docs/Setup/NodeSDK-setup.md (about) 1 ## Hyperledger Fabric Client (HFC) SDK for Node.js 2 3 The Hyperledger Fabric Client (HFC) SDK provides a powerful and easy to use API 4 to interact with a Hyperledger Fabric blockchain. 5 6 This document assumes that you already have set up a Node.js development 7 environment. If not, go [here](https://nodejs.org/en/download/package-manager/) 8 to download and install Node.js for your OS. You'll also want the latest version 9 of `npm` installed. For that, execute `sudo npm install npm -g` to get the 10 latest version. 11 12 ### Installing the hfc module 13 14 We publish the `hfc` node module to `npm`. To install `hfc` from npm simply 15 execute the following command: 16 17 ``` 18 npm install -g hfc 19 ``` 20 21 See [Hyperledger fabric Node.js client SDK](http://fabric-sdk-node.readthedocs.io/en/latest/node-sdk-guide) for more information. 22 23 24 ## Hyperledger fabric network 25 26 First, you'll want to have a running peer node and member services. The 27 instructions for setting up a network are [here](Network-setup.md). You may also use the [Fabric-starter-kit](../starter/fabric-starter-kit.md) that provides the network.