Skip to main content
The Kubiya CLI is available for multiple platforms and can be installed using package managers or direct download.
On-Demand Execution: Run AI tasks without needing a queue in advance - perfect for CI/CD pipelines! Just use kubiya exec "your task" and the Control Plane creates an ephemeral worker queue, provisions a worker on managed infrastructure, runs your task, and automatically cleans up. No queue setup needed!
Worker Flexibility: If you want to run persistent workers, they can run on nearly any compute environment - your local machine (Mac, Linux, Windows), Kubernetes clusters, Docker containers, VMs (EC2, GCE, Azure), or bare metal servers. This makes them incredibly powerful and easy to deploy wherever your infrastructure lives!
The easiest way to get started on macOS and Linux:

Install Script Options

Platform-Specific Installation

macOS

Direct Download

Linux

Windows

Download the latest Windows binary from GitHub Releases:

Go Install

If you have Go 1.21+ installed:

Build from Source

Prerequisites

  • Go 1.21 or later
  • Git
  • Make

Build Steps

Development Build

Verify Installation

After installation, verify that the CLI is working correctly:
Expected output:

Post-Installation Setup

Enable Shell Completion

Configure Environment Variables

See Authentication for detailed configuration options.

Docker

Run the CLI in a Docker container:

Kubernetes Installation

Deploy the CLI as a pod in your Kubernetes cluster:
Execute commands:

Upgrade

Homebrew

Linux Script

Manual Upgrade

Download and replace the binary with the latest version from the releases page.

Troubleshooting

Permission Denied

If you encounter permission errors:

Command Not Found

Ensure /usr/local/bin is in your PATH:

SSL/TLS Errors

If you encounter certificate errors:

Next Steps

Authentication

Configure API keys and connect to the Control Plane

Smart Execution

Execute tasks with automatic planning and on-demand workers

Worker Setup

Deploy persistent workers for high-frequency tasks

Resource Management

Manage agents, teams, and all resources