Discover a growing collection of modular Postgres packages ready to enhance your database functionality.
From authentication and security to data generation and utilities, find the modules you need to accelerate your development.
Set up your environment and start using pgpm in three easy steps.
Install the pgpm CLI globally to start managing your PostgreSQL packages.
npm install -g pgpmOne simple npm command gets you started with the full power of pgpm.
Get up and running in seconds with simple commands.
pgpm docker start
eval "$(pgpm env)"Tip: Already running Postgres? Skip the Docker step and just export your PG* environment variables.
Launch a local Postgres instance or connect to your existing database.
Install the faker package to add fake data generation functions directly in PostgreSQL.
# 1. Create a workspace
pgpm init workspace
# 2. Create your first module
cd my-workspace
pgpm init
# 3. Install a package
cd packages/my-module
pgpm install @pgpm/faker
# 4. Deploy everything
pgpm deploy --createdb --database mydb1
psql -d mydb1 -c "SELECT faker.city('MI');"
> Ann ArborCreate a workspace, install a package, and deploy—all in minutes.