DEV Community

Will Ceolin
Will Ceolin

Posted on • Edited on

5

How to delete all the data from your Firestore database

Sometimes when you're developing a new application, it might be useful to just have an easy way to wipe out your entire database as you're just trying out a few things.

If you're using Google's Cloud Firestore database, there is no option for doing so in the web console. However, you can do it using it the Firebase CLI:

firebase firestore:delete --all-collections -y
Enter fullscreen mode Exit fullscreen mode

This command will delete your entire database. So, before you run it, make sure that's what you really want to do.


Follow me on Twitter

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay