Command Reference
Every vibepg command supports --help for inline usage. The pages below are the longer-form versions, with examples and edge cases.
Lifecycle
| Command | Description |
|---|---|
doctor | Check Docker availability and print config paths |
new | Create and start a new Postgres instance |
ls | List instances and their state |
up / down / restart | Start, stop, or restart an instance |
rm | Remove an instance |
Query
| Command | Description |
|---|---|
exec | Run a single SQL statement |
run | Execute one or more SQL files |
psql | Open an interactive psql session |
Data
| Command | Description |
|---|---|
import | Import a CSV file into a table |
dump | Export the database with pg_dump |
restore | Restore from a dump file |
Observability
| Command | Description |
|---|---|
logs | Show container logs |
status | Print instance health and metadata |
Credentials
| Command | Description |
|---|---|
url | Print a postgres:// connection URL |
creds | Show or rotate credentials |
Utility
| Command | Description |
|---|---|
completions | Generate shell completion scripts |