DEV Community

Will Ceolin
Will Ceolin

Posted on • Updated on

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)