npx wrangler d1 list

Category: Cloudflare

npx wrangler d1 list

List D1 databases in your account

Prints every D1 database with its name, ID, and version, which is how you confirm a database exists and find its exact name. Add --json for machine-readable output. Names feed every other `wrangler d1` command.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.