21zoo Labs - Assorted Stuff

How to Run the Google Firestore Emulator

Posted at — Jun 3, 2019

You can run the Firestore emulator by running:

gcloud beta emulators firestore start

and then set the FIRESTORE_EMULATOR_HOST environment variable as per the console output (e.g. run export FIRESTORE_EMULATOR_HOST=::1:8505).

This requires the Google Cloud SDK and a Java 8+ JRE installed and on your system PATH.