Firebase
Google Firebase CLI for hosting, Firestore, authentication, cloud functions, and real-time database management.
41 commands
Browse by Topic
Install Firebase CLI
Install the Firebase CLI globally via npm
Check Firebase CLI version
Verify Firebase CLI is installed and display version
Login to Firebase
Authenticate the Firebase CLI with your Google account
Deploy everything
Deploy all Firebase services
Deploy Firestore rules
Deploy Firestore rules and indexes
Deploy specific function
Deploy a specific Cloud Function
Deploy functions only
Deploy only Cloud Functions
Deploy hosting only
Deploy only hosting to Firebase
Deploy Storage rules
Deploy Cloud Storage rules
Initialize Firebase
Initialize Firebase in current directory
Login to Firebase
Login to Firebase account
Logout from Firebase
Logout from Firebase
List projects
List all Firebase projects
Switch project
Switch to a different Firebase project
Run script with emulators
Start emulators, run script, then stop
Export emulator data
Export current emulator data to directory
Start with data import
Start emulators and import saved data
Start all emulators
Start all configured Firebase emulators
Start specific emulators
Start only specified emulators
Create preview channel
Create a new preview channel
Delete preview channel
Delete a preview channel
Deploy to preview channel
Deploy to a preview channel
List preview channels
List all preview channels
Clone hosting version
Clone a hosting version to another site
Disable hosting
Disable Firebase Hosting and stop serving
Serve locally
Start local hosting server
Get function config
Get current function configuration
Set function config
Set environment config for functions
Unset function config
Remove a function configuration key
Delete function
Delete a deployed Cloud Function
List functions
List all deployed Cloud Functions
View function logs
View Cloud Functions logs
Stream function logs
Stream Cloud Functions logs in real-time
Functions shell
Start interactive functions shell for testing
Delete Firestore data
Delete all data in Firestore (use with caution)
Export Firestore data
Export Firestore data to Cloud Storage
Import Firestore data
Import Firestore data from Cloud Storage
Deploy Firestore indexes
Deploy only Firestore indexes
Deploy Firestore rules
Deploy only Firestore security rules
Export users
Export users to JSON file
Import users
Import users from JSON file
Discussion
Loading comments...