Run This Ai
EN DE

How to Install pgvector on Ubuntu 24.04

Install pgvector on Ubuntu 24.04 with Docker Compose.

pgvector is an open-source vector similarity search extension for PostgreSQL. It enables you to store and query high-dimensional vectors alongside your relational data, supporting exact and approximate nearest neighbor search (ANN) with IVFFlat and HNSW indexes. Features include distance functions (L2, cosine, inner product, Hamming, Jaccard) plus halfvec, bit, and sparsevec types. With over 22,000 GitHub stars, it is the most popular PostgreSQL vector extension — a drop-in addition to any Postgres database.

Requirements · pgvector

See the full tool page: pgvector →