Install and Configure
Getting started with TerraHub CLI is pretty straightforward:
Next, check if
npm
is installed:The output should look similar to the one below (no need to copy paste):
NOTE: If
npm
is missing, check out Downloading and installing Node.js and npmInstall
terrahub
globally usingnpm
:The output should look similar to the one below (no need to copy paste):
Test if
terrahub
cli was installed properly: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, setup TerraHub Token as
THUB_TOKEN
environmental variable or updatetoken
value in global config file -$HOME/.terrahub/.terrahub.json
.
Last updated