Kodexa CLI Quick Start Guide
This guide will help you get started with the Kodexa command line tools, which provide an easy way to interact with a Kodexa platform instance.Installation
Install the Kodexa CLI using pip:Installation Notes
- Ensure you’re not in a virtual environment if you want a system-wide installation
- Verify your Python and pip with
which python3
andwhich pip3
- For a user-specific installation (no admin rights needed), use:
Authentication
Logging In
- URL of the Kodexa platform instance
- Your email and password
Verify Connection
Check your connection to the platform:API Token Storage
Your API token is stored in:- macOS:
~/Library/Application Support/kodexa-cli
- Linux:
~/.local/share/kodexa-cli
- Windows:
C:\Documents and Settings\{User}\Application Data\Local Settings\kodexa\kodexa-cli
KODEXA_ACCESS_TOKEN
Common Commands
View all available commands:kodexa get
- List resourceskodexa deploy
- Deploy componentskodexa upload
- Upload files/directorieskodexa query
- Query document storeskodexa delete
- Remove resources
Getting Help
Add the-v
or --verbose
flag to any command for detailed output: