The CVAT CLI (Command-Line Interface) is a Python-based tool that allows you to interact with CVAT from your terminal. It provides commands for managing projects, tasks, datasets, and more.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cvat-ai/cvat/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
Before installing CVAT CLI, ensure you have:- Python 3.10 or higher
- pip (Python package installer)
- Access to a CVAT server (local or remote)
Installation
Install the CVAT CLI using pip:cvat-cli- The CLI toolcvat-sdk- The underlying Python SDK- Required dependencies (attrs, Pillow)
Install from Source
To install the latest development version from source:Verifying Installation
After installation, verify that the CLI is properly installed:Check Available Commands
To see all available commands and options:Command Structure
All CVAT CLI commands follow this general pattern:<common options>- Global options like authentication and server settings<resource>- The CVAT resource (e.g.,task,project)<action>- The operation to perform (e.g.,create,ls,delete)<options>- Action-specific options and arguments
Upgrading
To upgrade to the latest version:Uninstalling
To remove the CVAT CLI:Troubleshooting
Command Not Found
Ifcvat-cli is not recognized after installation:
- Ensure pip’s binary directory is in your PATH
- Try using
python -m cvat_cliinstead - Restart your terminal session