Prerequisites
Before installing VectorDB, ensure you have:- Python 3.11 or higher - VectorDB requires Python 3.11+
- uv package manager - VectorDB uses uv for dependency management
Install uv
VectorDB uses uv for fast, reliable dependency management. If you don’t already have uv installed:Install VectorDB
Install dependencies
Use uv to install all project dependencies:This command will:
- Create a virtual environment in
.venv/ - Install all production dependencies
- Install development dependencies (tests, linting, type checking)
The
uv sync command reads from pyproject.toml and ensures all dependencies are installed with the correct versions.Activate the virtual environment
Activate the virtual environment created by uv:You should see
(.venv) in your terminal prompt when the environment is active.Environment variables
VectorDB uses environment variables for API keys and database connections. Create a.env file in your project root:
.env
You only need to configure the vector databases and LLMs you plan to use. VectorDB will work with whatever services you have credentials for.
Optional: Install for production only
If you only need production dependencies (no testing or development tools), you can exclude the dev group:Next steps
Quickstart
Build your first RAG pipeline
Configuration
Learn about configuration files