> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pgxman.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

pgxman makes installing Postgres extensions as easy as installing any other software package.

## Install pgxman

### Using curl

```sh theme={null}
curl -sfL https://install.pgx.sh | sh -
```

### Using brew

```sh theme={null}
brew install pgxman/tap/pgxman
```

<Note>Docker is required to run pgxman on MacOS.</Note>

## Find and install an extension

### Search

```sh theme={null}
pgxman search vector
```

### Install

```sh theme={null}
pgxman install pgvector
```

## Connect to Postgres

```sh theme={null}
# mac - connect to the container pgxman creates
$ psql postgres://postgres:pgxman@127.0.0.1/postgres

# linux - restart postgres so it picks up newly installed extensions, then connect
$ sudo service postgresql restart
$ sudo -u postgres psql
```

## Give it a try

```
postgres=# select * from pg_available_extensions;
...
postgres=# create extension vector;
CREATE EXTENSION
```
