SuperHub® Automation Hub

Hub CLI implements push button deployments from customizale GitOps templates. Trust the complete automation hub delivering composable stacks with speed, security, and reliability.

Getting Started

How to install Hub CLI

curl -O https://controlplane.agilestacks.io/dist/hub-cli/hub.darwin_amd64
mv hub.darwin_amd64 hub
chmod +x hub
sudo mv hub /usr/local/bin
hub extensions install
hub extensions update

Homebrew

brew tap agilestacks/brew
brew install hub

How to install required tools (MacOS)

Install awscli, kubectl, eksctl, jq, yq, nodejs, npm using the following commands:

brew update
brew install awscli kubectl eksctl jq yq node

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-east-1
Default output format [None]: json

How to install Hub CLI

curl -O https://controlplane.agilestacks.io/dist/hub-cli/hub.linux_amd64
mv hub.linux_amd64 hub
chmod +x hub
sudo mv hub /usr/local/bin
hub extensions install
hub extensions update

How to install required tools (Ubuntu)

Install awscli, kubectl, eksctl, jq, yq, nodejs, npm using the following commands:

sudo apt-get update
sudo apt-get install awscli

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl

curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin

sudo apt-get install -y jq

sudo add-apt-repository ppa:rmescandon/yq
sudo apt-get install -y yq

sudo apt-get install -y nodejs
sudo apt install -y npm

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-east-1
Default output format [None]: json

How to install required tools (Amazon Linux, CentOS)

Install awscli, kubectl, eksctl, jq, yq, nodejs, npm using the following commands:

sudo apt-get update
sudo apt-get install awscli

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl

curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin

sudo apt-get install -y jq

sudo add-apt-repository ppa:rmescandon/yq
sudo apt-get install -y yq

sudo apt-get install -y nodejs
sudo apt install -y npm

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-east-1
Default output format [None]: json

How to install Hub CLI

Run the following commands from WSL shell. To start WSL use "C:\Distros\Ubuntu1804\ubuntu1804.exe" or similar command.

curl -O https://controlplane.agilestacks.io/dist/hub-cli/hub.linux_amd64
mv hub.linux_amd64 hub
chmod +x hub
sudo mv hub /usr/local/bin
hub extensions install
hub extensions update


How to install required tools (Windows)

WSL can be installed from Microsoft Store. You can also follow this blog for WSL installation.
The examples below are provided for Ubuntu Linux distribution.

Install awscli, kubectl, eksctl, jq, yq, nodejs, npm using the following commands:

sudo apt-get update
sudo apt-get install awscli

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl

curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin

sudo apt-get install -y jq

sudo add-apt-repository ppa:rmescandon/yq
sudo apt-get install -y yq

sudo apt-get install -y nodejs
sudo apt install -y npm

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-east-1
Default output format [None]: json

For complete details please refer to documentation: Hub CLI on Windows