TerraHub CLI is built using nodejs and published using npm. Quick steps to get started:
$ node -v
v8.10.0
$ npm -v
v5.6.0
$ npm install -g terrahub
~/.nvm/versions/node/v8.10.0/lib
└── [email protected]
$ terrahub -h
NOTE: TerraHub CLI doesn't magically collect your data and upload to TerraHub API, which is further visualized in TerraHub Console. In order to do that, please sign up for a free account at console.terrahub.io and navigate to Settings page to copy TerraHub Token. Next, you can setup TerraHub Token as
TERRAHUB_TOKEN
environmental variable or updatetoken
value in global config file -$HOME/.terrahub/.terrahub.json
.