---
title: "db list"
description: "List databases"
canonical: "https://pgbeam.com/docs/cli/db/list"
last-updated: "2026-10-30T02:48:39.000Z"
---

# db list

> List databases

URL: https://pgbeam.com/docs/cli/db/list

{/* Auto-generated from CLI commands. Do not edit. Run `pnpm generate:cli-docs` to regenerate. */}

Lists all databases registered for the project.

## Usage

```bash
pgbeam db list [flags]
```

## Options

| Option            | Description                     | Required | Default |
| ----------------- | ------------------------------- | -------- | ------- |
| `--limit <value>` | Maximum number of items (1-100) | No       | -       |
| `--all`           | Fetch every page                | No       | -       |

> **Global options**
>
> All [global options](/docs/cli/global-options) (`--token`, `--profile`,
> `--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
> also available on this command.

## Examples

```bash
# List databases
pgbeam db list

# Output as JSON
pgbeam db list --json
```

## Output

Renders a human-readable table or detail view by default; pass `--json` for the raw API response.