KDX CLI Quick Start
The KDX CLI (kdx) is a modern, kubectl-style command-line interface for the Kodexa AI Platform. It provides a powerful and familiar interface for managing Kodexa resources directly from the terminal.
Why KDX CLI?
- Kubectl-Style Interface: Familiar commands like
get,describe,create,apply, anddelete - Dynamic Resource Discovery: Automatically discovers resources from your platform’s OpenAPI specification
- Profile-Based Authentication: Manage multiple environments with ease
- GitOps Ready: Built-in metadata sync for version-controlled infrastructure
- Multiple Output Formats: Interactive tables, JSON, and YAML for any workflow
Installation
Install the KDX CLI (installation methods coming soon):Quick Start
1. Configure Your Profile
Set up a profile for your Kodexa environment:2. Discover Resources
See what resources are available in your environment:3. List Resources
Use theget command to list resources:
4. Get Specific Resources
Retrieve details about a specific resource:5. Create Resources
Create resources declaratively using YAML files:workspace.yaml
Working with Multiple Environments
Switch between profiles easily:Output Formats
KDX CLI supports multiple output formats:Getting Help
KDX CLI has built-in help for every command:Configuration
All KDX CLI configuration is stored in~/.kodexa/config.yaml
Next Steps
Full KDX CLI Guide
Learn about all KDX CLI capabilities and features
Quick Start Guide
Comprehensive quick start with more examples
Profile Configuration
Deep dive into profile management
Resource Operations
Learn advanced CRUD operations
Legacy Kodexa CLI
If you’re using the olderkodexa CLI (installed via pip install kodexa-cli), we recommend migrating to the new KDX CLI for improved functionality and ongoing support.
