Installing the Testkube CLI
The Testkube CLI allows you to both manage your Testkube installation and interact with your Testkube resources, such as running creating Test Workflows, starting test executions, managing triggers, etc - see CLI Commands Reference for all commands.
- MacOS
- Windows
- Ubuntu
- Script
- Manual Download
brew install testkube
choco source add --name=kubeshop_repo --source=https://chocolatey.kubeshop.io/chocolatey
choco install testkube -y
To install Testkube CLI you'll need the following tools:
wget -qO - https://repo.testkube.io/key.pub | sudo apt-key add -
echo "deb https://repo.testkube.io/linux linux main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y testkube
To install Testkube CLI you'll need the following tools:
curl -sSLf https://get.testkube.io | sh
To install Testkube CLI you'll need the following tools:
- Download the binary for the version and platform of your choice here.
- Unpack it. For example, in Linux use
tar -zxvf testkube_1.5.1_Linux_x86_64.tar.gz
. - Move it to a location in the PATH. For example:
mv testkube_1.5.1_Linux_x86_64/kubectl-testkube /usr/local/bin/kubectl-testkube
For Windows, you will need to unpack the binary and add it to the %PATH%
as well.
note
If you use a package manager that we don't support, please let us know here #161.
Validating the Testkube CLI
You can validate the CLI and server their version as follows:
$ testkube version
Context: (1.17.15) Namespace: testkube
-----------------------------------------
████████ ███████ ███████ ████████ ██ ██ ██ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ █████ ███████ ██ █████ ██ ██ ██████ █████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ███████ ███████ ██ ██ ██ ██████ ██████ ███████
/tɛst kjub/ by Kubeshop
Client Version 1.17.15
Server Version 1.17.16
Commit
Built by Homebrew
Build date