Installation¶
This guide will help you install Kubiya SDK and its dependencies.
Prerequisites¶
Before installing Kubiya SDK, make sure you have the following prerequisites:
- Python 3.8+: Kubiya SDK requires Python 3.8 or higher.
- Docker: Since Kubiya uses Docker images for tools, you'll need Docker installed and running.
Installing Python¶
If you don't have Python 3.8+, you can download it from the official Python website.
Verify your Python installation:
Installing Docker¶
Kubiya relies on Docker to run tools. Follow the instructions for your operating system:
- macOS: Install Docker Desktop for Mac
- Windows: Install Docker Desktop for Windows
- Linux: Install Docker Engine on Linux
Verify your Docker installation:
Make sure Docker is running:
Installing Kubiya SDK¶
Using pip (Recommended)¶
The easiest way to install Kubiya SDK is with pip:
Optional Dependencies¶
Kubiya SDK has several optional dependencies for different features:
- AWS Tools:
pip install kubiya-sdk[aws] - Kubernetes Integration:
pip install kubiya-sdk[kubernetes] - Server Components:
pip install kubiya-sdk[server] - LLM Integration:
pip install kubiya-sdk[llm] - Full Installation:
pip install kubiya-sdk[all]
Verifying the Installation¶
You can verify that Kubiya SDK is installed correctly by running:
Setting Up Kubernetes (Optional)¶
If you plan to run tools on Kubernetes, you'll need access to a Kubernetes cluster and proper configuration:
- Install kubectl: Install kubectl instructions
- Configure access to your cluster
- Verify you can connect to your cluster:
Using Virtual Environments (Recommended)¶
It's good practice to use virtual environments for Python projects:
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
# On macOS/Linux:
source venv/bin/activate
# On Windows:
venv\Scripts\activate
# Install Kubiya SDK in the virtual environment
pip install kubiya-sdk
Next Steps¶
Now that you have Kubiya SDK installed, check out the Quick Start Guide to create your first Docker-based tools and workflows.