User Guide
Installing a PostgreSQL extension
Individual Extension
Installing an extension, such as pgvector
, is as simple as running:
pgxman will install the latest version of pgvector into the local detected version of Postgres. On MacOS, it will use container install with PG 15 by default.
You can also specify the desired version of the extension by using =version
:
You can also specify the desired target Postgres version.
Both the version number of the extension and Postgres version are optional:
- Version: If not provided, pgxman defaults to installing the latest version of the specified extension.
- PostgreSQL Version: The Postgres version is specified by using the
--pg
flag. Currently, PostgreSQL 13-16 are supported. If not provided, pgxman detects the version using thepg_config
command.
As pgxman
harnesses system’s package manager for extension management,
admin privilleges might be required. To install extensions with sudo
,
append the --sudo
flag:
Batch Installation using a pgxman file
You can also utilize a pgxman pack file to install or upgrade multiple extensions at once:
Next steps
Now you’re ready to start using the extensions!