Skip to content
Github

Installation

VortexDB can be installed using Docker (recommended) or built from source. This guide covers both methods.

Docker

Docker 20.10+ and Docker Compose v2

From Source

Rust 1.88+, protobuf-compiler, clang

The fastest way to get started is using Docker:

Terminal window
# Clone the repository
git clone https://github.com/sdslabs/VortexDB.git
cd VortexDB
# Copy the environment template
cp .env.example .env

Edit the .env file with your settings:

Terminal window
# Required settings
VORTEXDB_KEYS_FILE=./keys.json # see keys.example.json for the format
DIMENSION=384 # Vector dimension (e.g., 384 for MiniLM embeddings)
DATA_PATH=/data
# Optional settings (with defaults)
HTTP_HOST=127.0.0.1
HTTP_PORT=3000
GRPC_HOST=127.0.0.1
GRPC_PORT=50051
STORAGE_TYPE=inmemory # inmemory | rocksdb
INDEX_TYPE=flat # flat | kdtree | hnsw
SIMILARITY=cosine # cosine | euclidean | manhattan | hamming
LOGGING=true
DISABLE_HTTP=false
Terminal window
docker compose up

VortexDB is now running:

Terminal window
sudo apt-get update && sudo apt-get install -y \
protobuf-compiler \
clang \
libclang-dev \
llvm-dev \
build-essential
Terminal window
# Clone the repository
git clone https://github.com/sdslabs/VortexDB.git
cd VortexDB
# Build in release mode
cargo build --release
# Run the server
./target/release/server

Install the Python client to interact with VortexDB:

Terminal window
pip install vortexdb

Or install from source:

Terminal window
cd client/python
pip install -e .

Check that VortexDB is running correctly:

Terminal window
curl http://localhost:3000/health
# Response: OK
from vortexdb import VortexDB
db = VortexDB(
grpc_url="localhost:50051",
api_key="your-secure-password"
)
print("Connected successfully!")
db.close()

Quickstart

Insert your first vector in 60 seconds