Installing hubctl on a local workstation (Mac, Windows, Linux)
How to install hubctl from pre-build binary
curl -LJ "https://github.com/epam/hubctl/releases/latest/download/hubctl_$(uname -s)_$(uname -m).tar.gz" | tar xz -C /tmp sudo mv /tmp/hubctl /usr/local/bin hubctl extensions install
Homebrew
brew tap epam/tap brew install epam/tap/hubctl
How to install hubctl
curl -LJ "https://github.com/epam/hubctl/releases/latest/download/hubctl_$(uname -s)_$(uname -m).tar.gz" | tar xz -C /tmp sudo mv /tmp/hubctl /usr/local/bin hubctl extensions install
How to install required tools (Ubuntu)
Install git, jq, yq, nodejs using the following commands:
sudo apt-get update sudo apt-get install -y git jq nodejs curl sudo curl -Lo /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 sudo chmod a+x /usr/local/bin/yq
You could also install optional tools.
How to install required tools (Amazon Linux, CentOS)
Install git, jq, yq, nodejs using the following commands:
curl -sL https://rpm.nodesource.com/setup_lts.x | sudo bash - sudo yum install -y git jq nodejs curl sudo curl -Lo /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 sudo chmod a+x /usr/local/bin/yq
You could also install optional tools.
How to install hubctl
Run the following commands from WSL shell.
curl -LJ "https://github.com/epam/hubctl/releases/latest/download/hubctl_$(uname -s)_$(uname -m).tar.gz" | tar xz -C /tmp sudo mv /tmp/hubctl /usr/local/bin hubctl extensions install
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 git, jq, yq, nodejs using the following commands:
sudo apt-get update sudo apt-get install -y git jq nodejs curl sudo curl -Lo /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 sudo chmod a+x /usr/local/bin/yq
You could also install optional tools.