curl -sfL https://install.pgx.sh | sh -
brew install pgxman/tap/pgxman
pgxman search vector
pgxman install pgvector
# mac - connect to the container pgxman creates $ psql postgres://postgres:[email protected]/postgres # linux - restart postgres so it picks up newly installed extensions, then connect $ sudo service postgresql restart $ sudo -u postgres psql
postgres=# select * from pg_available_extensions; ... postgres=# create extension vector; CREATE EXTENSION