---
title: "dbdev: PostgreSQL Package Manager"
description: "database.dev (dbdev) is a read-only preview of a package manager for PostgreSQL, playing the role npm or cargo play for other languages."
url: "https://swe.quest/articles/dbdev-postgresql-package-manager-58df87ba3a3de7e4"
canonical: "https://supabase.com/blog/dbdev"
source: "Supabase"
published: "2023-04-14"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["postgres","build-systems","open-source"]
---

# dbdev: PostgreSQL Package Manager

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2023-04-14, 7 min read, Announcement. Original: [https://supabase.com/blog/dbdev](https://supabase.com/blog/dbdev)

## Summary

database.dev (dbdev) is a read-only preview of a package manager for PostgreSQL, playing the role npm or cargo play for other languages. It installs SQL packages as native Postgres extensions via pg\_tle and pgsql-http, so they work on hosted platforms without filesystem access. On top of Postgres's own extension rules it enforces major.minor.patch semver and namespaces packages by publisher handle to prevent name and typo squatting. Example packages include an index advisor built on hypopg, PostgREST header tooling and a LangChain hybrid-search backend; the main limitation is that packages must be Trusted Language Extensions, a gap pl/rust narrows.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- PostgreSQL extensions ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

dbdev, database.dev, pg\_tle, Trusted Language Extensions, Supabase, pl/rust, hypopg, PostgREST

## Related posts

- [Trusted Language Extensions for Postgres](https://swe.quest/articles/trusted-language-extensions-for-postgres-124fab4d0dac205e.md): Supabase · 2023-04-14 · Easy · 4 min read · PostgreSQL, Security, Open source
  Trusted Language Extensions (TLEs), enabled by AWS's pg\_tle extension, let Postgres extensions written in trusted languages like SQL, pl/pgsql, plv8 or pl/rust be installed from any database client via pgtle.install\_extension(), without filesystem access on the server.
- [postgres.new: In-browser Postgres with an AI interface](https://swe.quest/articles/postgres-new-in-browser-postgres-with-an-ai-interface-55583d716a34d5b8.md): Supabase · 2024-08-12 · Medium · 11 min read · PostgreSQL, WebAssembly, LLMs, AI agents, Browsers
  database.build (formerly postgres.new) runs unlimited Postgres databases entirely in the browser via PGlite, a WASM build of Postgres, paired with GPT-4o that has full autonomy over the disposable database.
- [Postgres Language Server: Initial Release](https://swe.quest/articles/postgres-language-server-initial-release-4b7148c84b3bcff0.md): Supabase · 2025-03-29 · Medium · 13 min read · PostgreSQL, Developer tools, Rust, SQL, Static analysis
  Postgres Language Server is an LSP implementation for Postgres offering autocompletion, syntax error highlighting, type-checking via PREPARE/EXPLAIN against a live database, and a Squawk-inspired linter, available for VSCode, Neovim and as a CLI.
- [database.build v2: Bring-your-own-LLM](https://swe.quest/articles/database-build-v2-bring-your-own-llm-b2a3b83eee7ef5a0.md): Supabase · 2024-12-06 · Medium · 11 min read · PostgreSQL, LLMs, Browsers, WebAssembly
  database.build, Supabase's in-browser Postgres sandbox built on PGlite, now lets users bring any OpenAI-compatible LLM, with no login and no rate limits.
- [Bring Your Own Extensions to Serverless PostgreSQL](https://swe.quest/articles/bring-your-own-extensions-to-serverless-postgresql-6c4a9e42827f5129.md): Neon · 2024-01-17 · Easy · 4 min read · PostgreSQL, Serverless, Multi-tenancy
  Neon now supports private and custom Postgres extensions in its serverless platform via Dynamic Extension Loading, available in beta on request.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
