Skip to content

Installation🔗︎

Install Kubitect CLI tool🔗︎

Download Kubitect binary file from the release page.

curl -o kubitect.tar.gz -L https://dl.kubitect.io/linux/amd64/latest

Unpack tar.gz file.

tar -xzf kubitect.tar.gz

Install Kubitect command line tool by placing the Kubitect binary file in /usr/local/bin directory.

sudo mv kubitect /usr/local/bin/

Note

The download URL is a combination of the operating system type, system architecture and version of Kubitect (https://dl.kubitect.io/<os>/<arch>/<version>).

All releases can be found on GitHub release page.

Verify the installation by checking the Kubitect version.

kubitect --version

# kubitect version v3.5.0

Enable shell autocomplete🔗︎

Tip

To list all supported shells, run: kubitect completion -h

For shell specific instructions run: kubitect completion shell -h

This script depends on the bash-completion package. If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

source <(kubitect completion bash)

To load completions for every new session, execute once:

Linux:

kubitect completion bash > /etc/bash_completion.d/kubitect

macOS:

kubitect completion bash > $(brew --prefix)/etc/bash_completion.d/kubitect

If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(kubitect completion zsh); compdef _kubitect kubitect

To load completions for every new session, execute once:

Linux:

kubitect completion zsh > "${fpath[1]}/_kubitect"

macOS:

kubitect completion zsh > $(brew --prefix)/share/zsh/site-functions/_kubitect