Install Kubiya CLI

Kubiya CLI Installation Guide

This document provides step-by-step instructions for downloading and setting up the Kubiya CLI for various platforms. Follow the instructions based on your operating system and architecture.

Supported Platforms

The Kubiya CLI supports the following platforms and architectures:

  • MacOS

    • kubiya-cli-darwin-amd64

    • kubiya-cli-darwin-arm64

  • Linux

    • kubiya-cli-linux-amd64

    • kubiya-cli-linux-arm64

  • Windows

    • kubiya-cli-windows-amd64.exe

General Steps

Step 1: Download the Relevant Binary

  1. Download the binary matching your operating system and architecture.

    • MacOS (Intel): kubiya-cli-darwin-amd64

    • MacOS (M1/M2/ARM): kubiya-cli-darwin-arm64

    • Linux (Intel): kubiya-cli-linux-amd64

    • Linux (ARM): kubiya-cli-linux-arm64

    • Windows: kubiya-cli-windows-amd64.exe

Step 2: Move the Binary to the System Path

For Unix-based systems (MacOS/Linux):

bash

sudo mv ~/Downloads/<binary-name> /usr/local/bin/ && chmod +x /usr/local/bin/<binary-name>

Replace <binary-name> with the name of the downloaded binary. For example:

bash

sudo mv ~/Downloads/kubiya-cli-darwin-arm64 /usr/local/bin/ && chmod +x /usr/local/bin/kubiya-cli-darwin-arm64

For Windows:

  1. Place the downloaded .exe file in a directory included in your system’s PATH.

  2. Verify the setup by running the binary in a terminal:

    cmd

    Copy code

    kubiya-cli-windows-amd64.exe --help

Step 3: Allow the Binary (MacOS Only)

MacOS Gatekeeper may block the binary because it is unsigned. To allow it:

bash

Copy code

xattr -d com.apple.quarantine ~/Downloads/<binary-name>

Example:

bash

Copy code

xattr -d com.apple.quarantine ~/Downloads/kubiya-cli-darwin-arm64

Step 4: Verify Installation

Run the following command in your terminal to ensure the binary is properly installed:

bash

Copy code

kubiya-cli --help

Last updated