firebase firestore:delete --all-collections -f

Category: Firebase & Firestore

firebase firestore:delete --all-collections -f

Wipe all data from the Firestore database

Deletes every collection and document in the default Firestore database, returning it to an empty state. This is extremely destructive and cannot be undone, and -f skips all confirmation prompts, so double-check the project with firebase use before running it. Consider firestore:export-style backups first.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.