# db (/docs/cli/db)

Location: CLI > db

The `prisma db` command group provides tools to manage your database schema and lifecycle during development.

Usage [#usage]

```bash
prisma db [command] [options]
```

Global options [#global-options]

| Option         | Description                            |
| -------------- | -------------------------------------- |
| `-h`, `--help` | Display help message                   |
| `--config`     | Custom path to your Prisma config file |
| `--schema`     | Custom path to your Prisma schema      |

Subcommands [#subcommands]

| Command                                | Description                                                               |
| -------------------------------------- | ------------------------------------------------------------------------- |
| [`prisma db pull`](/cli/db/pull)       | Pull the state from the database to the Prisma schema using introspection |
| [`prisma db push`](/cli/db/push)       | Push the state from Prisma schema to the database during prototyping      |
| [`prisma db seed`](/cli/db/seed)       | Seed your database                                                        |
| [`prisma db execute`](/cli/db/execute) | Execute native commands to your database                                  |

Examples [#examples]

```bash
# Pull schema from database
prisma db pull

# Push schema to database
prisma db push

# Seed the database
prisma db seed

# Execute a SQL script
prisma db execute --file ./script.sql
```

## Related pages

- [`debug`](https://www.prisma.io/docs/cli/debug): Display Prisma debug information including schema paths, engine binaries, environment variables, and cache directories for troubleshooting
- [`dev`](https://www.prisma.io/docs/cli/dev): Start a local Prisma Postgres server for development
- [`format`](https://www.prisma.io/docs/cli/format): Format and validate your Prisma schema file with consistent structure
- [`generate`](https://www.prisma.io/docs/cli/generate): Generate artifacts like Prisma Client based on your Prisma schema
- [`init`](https://www.prisma.io/docs/cli/init): Set up a new Prisma project in the current directory