Hyperledger-composer and playground (mac版本)安装

1.创建目录

mkdir HyperledgerComposer

2.进入目录

  cd HyperledgerComposer

3.脚本安装nvm (非全局代理)

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

4.( mac )bash_profile

  touch .bash_profile

5.脚本安装nvm(全局代理)

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

6.查看nvm版本

  nvm —-version

7.Install the latest (long term support) version of Node

  nvm install --lts

8.Switch to the LTS version of Node

  nvm use --lts

9.Check that Node is installed

  node --version

10.(非全局代理)Essential CLI tools

  npm install -g composer-cli

11.(非全局代理)安装

  npm install -g composer-rest-server

12.(全局代理)安装

  npm install -g composer-rest-server

13.(全局代理)安装

  npm install -g composer-cli

14. (非全局代理)安装

 npm install -g generator-hyperledger-composer

15.Yeoman is a tool for generating applications, which utilises generator-hyperledger-composer

  npm install -g yo

16.全局代理安装

  npm install -g composer-playground

17.全局代理安装

  npm install -g generator-hyperledger-composer

18 成功界面 自动打开浏览器出现

1530861253425.jpg

猜你喜欢

转载自blog.csdn.net/u013737336/article/details/80942032