Skip to content
Sébastien Andreatta edited this page Apr 27, 2026 · 2 revisions

odev list

list demo

List local Odoo databases with their current status and information required fortheir management through thistool. This includes custom repositories, virtual environments, worktrees, sizes, last used dates, and whether theyare whitelisted or not. By default, only Odoo databases are listed. Use the --all option to include non-Odoo databases or templatesgenerated through odev create and odev run as well. System databases such as postgres, template0, template1, odev, and the default user database are alwaysexcluded from the list.

Usage

odev list [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [-1] [-e EXPRESSION] [-a] [-s {name,version,size,size_fs,date,venv,worktree,repository,pid,whitelisted}]

Aliases

ls

Arguments

Optional Arguments:

Argument Description
-v, --log-level Set logging verbosity for the execution of odev.
-h, --help Show help for the current command.
-f, --force Bypass confirmation prompts and assume a default value to all, use with caution!
-v, --log-level Set logging verbosity for the execution of odev.
-h, --help Show help for the current command.
-f, --force Bypass confirmation prompts and assume a default value to all, use with caution!
-1, --names-only List database names one per line - useful for parsing.
-e, --expression Regular expression pattern to filter listed databases.
-a, --all Show non-Odoo databases and templates.
-s, --sort Sort databases by their value in one of the columns displayed. Possible values are name, version, size, size_fs, date, venv, worktree, repository, pid and whitelisted.

Examples

Show help

odev list --help

List all local Odoo databases

odev list

List all databases (including templates)

odev list -a

Filter by name (Regex)

odev list -e "demo_.*"

Sort by size

odev list -s size

Names only (For scripts)

odev list -1

Clone this wiki locally