github.com/tenywen/fabric@v1.0.0-beta.0.20170620030522-a5b1ed380643/docs/source/prereqs.rst (about) 1 Prerequisites 2 ============= 3 4 Install cURL 5 ------------ 6 7 Download the `cURL <https://curl.haxx.se/download.html>`__ tool if not 8 already installed. 9 10 .. note:: If you're on Windows please see the specific note on `Windows 11 extras`_ below. 12 13 Docker and Docker Compose 14 ------------------------- 15 16 You will need the following installed on the platform on which you will be 17 operating, or developing on (or for), Hyperledger Fabric: 18 19 - MacOSX, *nix, or Windows 10: `Docker <https://www.docker.com/products/overview>`__ 20 v1.12 or greater is required. 21 - Older versions of Windows: `Docker 22 Toolbox <https://docs.docker.com/toolbox/toolbox_install_windows/>`__ - 23 again, Docker version v1.12 or greater is required. 24 25 You can check the version of Docker you have installed with the following 26 command from a terminal prompt: 27 28 .. code:: bash 29 30 docker --version 31 32 .. note:: Installing Docker for Mac or Windows, or Docker Toolbox will also 33 install Docker Compose. If you already had Docker installed, you 34 should check that you have Docker Compose version 1.8 or greater 35 installed. If not, we recommend that you install a more recent 36 version of Docker. 37 38 You can check the version of Docker Compose you have installed with the 39 following command from a terminal prompt: 40 41 .. code:: bash 42 43 docker-compose --version 44 45 Go Programming Language 46 ----------------------- 47 48 Hyperledger Fabric uses the Go programming language 1.7.x for many of its 49 components. 50 51 .. note: Go version 1.8.x will yield test failures 52 53 - `Go <https://golang.org/>`__ - version 1.7.x 54 55 Node.js Runtime and NPM 56 ----------------------- 57 58 If you will be developing applications for Hyperledger Fabric leveraging the 59 Fabric SDK for Node.js, you will need to have version 6.9.x of Node.js 60 installed. 61 62 .. note:: Node.js version 7.x is not supported at this time. 63 64 - `Node.js <https://nodejs.org/en/download/>`__ - version 6.9.x or greater 65 66 .. note:: Installing Node.js will also install NPM, however it is recommended 67 that you update the default version of NPM installed. You can upgrade 68 the ``npm`` tool with the following command: 69 70 .. code:: bash 71 72 npm install npm@latest -g 73 74 Windows extras 75 -------------- 76 77 If you are developing on Windows, you may also need the following which 78 provides a better alternative to the built-in Windows tools: 79 80 - `Git Bash <https://git-scm.com/downloads>`__ 81 82 .. note:: On older versions of Windows, such as Windows 7, you 83 typically get this as part of installing Docker 84 Toolbox. However experience has shown this to be a poor 85 development environment with limited functionality. It is 86 suitable to run docker based scenarios, such as 87 :doc:`getting_started`, but you may not be able to find a 88 suitable ``make`` command. 89 90 .. note:: The ``curl`` command that comes with Git and Docker Toolbox 91 is old and does not handle properly the redirect used in 92 :doc:`getting_started`. Make sure you install and use a 93 newer version from the `cURL downloads page 94 <https://curl.haxx.se/download.html>`__ 95 96 .. Licensed under Creative Commons Attribution 4.0 International License