firebase init firestore

Category: Firebase & Firestore

firebase init firestore

Initialize Firestore rules and indexes

Creates firestore.rules and firestore.indexes.json in the current directory, ready to hold your security rules and composite index definitions. The CLI may also offer to deploy them immediately. Push changes later with firebase deploy --only firestore:rules or firebase deploy --only firestore:indexes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.