Error

psql postgres psql (15.5 (Homebrew)) Type "help" for help. postgres=# create extension vector; ERROR: extension "vector" is not available DETAIL: Could not open extension control file "/opt/homebrew/opt/postgresql@15/share/postgresql@15/extension/vector.control": No such file or directory. HINT: The extension must first be installed on the system where PostgreSQL is running. postgres=#

Solution

pg_config --bindir /opt/homebrew/Cellar/postgresql@14/14.10_1/bin