CocoIndex installation
pip install cocoindex, start a pgvector-enabled Postgres in Docker, and verify the system requirements (Python 3.11 to 3.13 on macOS, Linux, or Windows).
π₯οΈ System Requirements
CocoIndex is supported on the following operating systems:
- macOS: 10.12+ on x86_64, 11.0+ on arm64
- Linux: x86_64 or arm64, glibc 2.28+ (e.g., Debian 10+, Ubuntu 18.10+, Fedora 29+, CentOS/RHEL 8+)
- Windows: 10+ on x86_64
π Install Python and Pip
To follow the steps in this guide, youβll need:
π΄ Install CocoIndex
pip install -U cocoindex
π¦ Install Postgres
You can skip this step if you already have a Postgres database with pgvector extension installed.
If you donβt have a Postgres database:
- Install Docker Compose π³.
- Start a Postgres SQL database for cocoindex using our docker compose config:
docker compose -f <(curl -L https://raw.githubusercontent.com/cocoindex-io/cocoindex/refs/heads/main/dev/postgres.yaml) up -d
π€ Install Claude Code Skill (Optional)
If youβre using Claude Code, you can install the CocoIndex skill for enhanced development support. Run these commands in Claude Code:
/plugin marketplace add cocoindex-io/cocoindex-claude
/plugin install cocoindex-skills@cocoindex
This provides specialized CocoIndex knowledge and workflow support within Claude Code.
π All set
You can now start using CocoIndex.