Installing pre-requisites | Hyperledger Composer (2024)

The Hyperledger Composer pre-requisites can be installed on Ubuntu or MacOS. Choose your operating system to jump to the appropriate section, or scroll down to find the instructions:

To run Hyperledger Composer and Hyperledger Fabric, we recommend you have at least 4Gb of memory.

The following are prerequisites for installing the required development tools:

  • Operating Systems: Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit), or Mac OS 10.12
  • Docker Engine: Version 17.03 or higher
  • Docker-Compose: Version 1.8 or higher
  • Node: 8.9 or higher (note version 9 is not supported)
  • npm: v5.x
  • git: 2.9.x or higher
  • Python: 2.7.x
  • A code editor of your choice, we recommend VSCode.

**If installing Hyperledger Composer using Linux, be aware of the following advice:

  • Login as a normal user, rather than root.
  • Do not su to root.
  • When installing prerequisites, use curl, then unzip using sudo.
  • Run prereqs-ubuntu.sh as a normal user. It may prompt for root password as some of it's actions are required to be run as root.
  • Do not use npm with sudo or su to root to use it.
  • Avoid installing node globally as root.**

If you're running on Ubuntu, you can download the prerequisites using the following commands:

curl -O https://hyperledger.github.io/composer/v0.19/prereqs-ubuntu.shchmod u+x prereqs-ubuntu.sh

Next run the script - as this briefly uses sudo during its execution, you will be prompted for your password.

./prereqs-ubuntu.sh

What next?

Congratulations, the installation of the pre-requisites for Hyperledger Composer is complete! You can now proceed with Installing the development environment.

Follow these instructions to install the pre-requsities for installing Hyperledger Composer on a local Mac OS X machine. You need to install these tools before you attempt to install Hyperledger Composer.

Note Mac OS X version 10.12.6 was used for these instructions.

Install nvm and Apple Xcode

First install nvm (the Node version manager). nvm is a tool that allows you to easily install, update and switch between versions of Node.js.

Open the terminal (command line) by clicking on the magnifier in the menu bar at the top right of your screen. Type terminal and press enter.

In the terminal window paste the text below and press enter:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash

More information on this script and the Node install process is available here.

When you hit enter you should see the pop-up below, prompting you to install git. Press the Get Xcode button to install the full Apple Xcode IDE, including a C++ compiler, used to install native Node.js modules.

Installing pre-requisites | Hyperledger Composer (1)

The download and install process for Xcode may take 20 minutes or more. Be patient!

After the installation of Xcode has completed launch Xcode. Accept the license agreement. It will prompt you for your username and password and will install additional components.

After Xcode finishes installing additional components and launches, simply quit Xcode.

Switch back to the terminal and create your bash profile (stores user preferences for bash):

touch .bash_profile

Then rerun the original curl command:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash

Close the terminal and reopen it.

Check that nvm is installed and is accessible:

nvm —-version

Install Node

Install the latest (long term support) version of Node:

nvm install --lts

Switch to the LTS version of Node:

nvm use --lts

Check that Node is installed:

node --version

Install Docker

Follow the instructions here to install Docker for Mac (stable):https://docs.docker.com/docker-for-mac/install/

After running the installed Docker application you should have the whale icon in your menu bar, with a green “Docker is running” status.

Install VSCode

Install VSCode by visiting:https://code.visualstudio.com

Press the “Download for Mac” button and copy the downloaded application into your Applications folder.

Install the Hyperledger Composer Extension for VSCode

Launch VSCode and then press the “Extensions” button on the vertical left toolbar.

Type composer into the search bar and then press the Install button next to the Hyperleger Composer extension. Once the install completes you need to press the Reload button to activate the extension.

What next?

Congratulations, the installation of the pre-requisites for Hyperledger Composer is complete! You can now proceed with Installing the development environment.

Installing pre-requisites | Hyperledger Composer (2024)
Top Articles
My No-Nonsense Guide To Retiring On Dividends (With Just $500K Saved)
How to change your location on Google Chrome
Friskies Tender And Crunchy Recall
Angela Babicz Leak
Ross Dress For Less Hiring Near Me
Hay day: Top 6 tips, tricks, and cheats to save cash and grow your farm fast!
Legacy First National Bank
Otr Cross Reference
Weekly Math Review Q4 3
Buying risk?
Everything You Need to Know About Holly by Stephen King
Mens Standard 7 Inch Printed Chappy Swim Trunks, Sardines Peachy
Reddit Wisconsin Badgers Leaked
Worcester On Craigslist
Cpt 90677 Reimbursem*nt 2023
Patrick Bateman Notebook
Tamilrockers Movies 2023 Download
Marine Forecast Sandy Hook To Manasquan Inlet
Craigslist Pearl Ms
Doki The Banker
1 Filmy4Wap In
Rugged Gentleman Barber Shop Martinsburg Wv
Afni Collections
Shiny Flower Belinda
Mjc Financial Aid Phone Number
Bend Missed Connections
3473372961
Taktube Irani
Brenda Song Wikifeet
Sf Bay Area Craigslist Com
Everstart Jump Starter Manual Pdf
A Small Traveling Suitcase Figgerits
Where Do They Sell Menudo Near Me
Skip The Games Ventura
October 31St Weather
Chilangos Hillsborough Nj
Louisville Volleyball Team Leaks
Ticketmaster Lion King Chicago
3302577704
Timberwolves Point Guard History
SF bay area cars & trucks "chevrolet 50" - craigslist
Carteret County Busted Paper
Citymd West 146Th Urgent Care - Nyc Photos
Best Suv In 2010
UWPD investigating sharing of 'sensitive' photos, video of Wisconsin volleyball team
5103 Liberty Ave, North Bergen, NJ 07047 - MLS 240018284 - Coldwell Banker
Sapphire Pine Grove
Gummy Bear Hoco Proposal
Is Chanel West Coast Pregnant Due Date
Craigslist Cars And Trucks For Sale By Owner Indianapolis
Ret Paladin Phase 2 Bis Wotlk
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 5829

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.