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
--
8.Switch to the LTS version of Node
nvm use
9.Check that Node is installed
--
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
npm install -g yo
16.全局代理安装
npm install -g composer-playground
17.全局代理安装
npm install -g generator-hyperledger-composer
18 成功界面 自动打开浏览器出现
