Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Firebase CLI Cheat Sheet

Firebase CLI Cheat Sheet

Back to Operating Systems and CLI
Updated 2026-04-28
Next Topic: GCP CLI Cheat Sheet

Firebase CLI (Command Line Interface) is Google's official command-line tool for managing, testing, and deploying Firebase projects directly from the terminal. It provides comprehensive control over Firebase services including Hosting, App Hosting, Cloud Functions, Firestore, SQL Connect, Realtime Database, Authentication, Storage, and Extensions — enabling developers to automate workflows, run local emulators, and deploy production applications. The CLI supports both interactive project initialization and non-interactive CI/CD integration, making it essential for modern Firebase development. As of 2026, it also hosts the official Firebase MCP Server, connecting AI coding tools directly to your Firebase project.

What This Cheat Sheet Covers

This topic spans 22 focused tables and 172 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Installation and SetupTable 2: Authentication and Project ManagementTable 3: Project InitializationTable 4: Deployment CommandsTable 5: Hosting CommandsTable 6: App Hosting CommandsTable 7: Cloud Functions CommandsTable 8: Emulator Suite CommandsTable 9: Firestore CommandsTable 10: SQL Connect CommandsTable 11: Realtime Database CommandsTable 12: Authentication User CommandsTable 13: Extensions CommandsTable 14: App Distribution CommandsTable 15: Remote Config CommandsTable 16: Storage CommandsTable 17: Deploy TargetsTable 18: CI/CD IntegrationTable 19: Configuration and DebuggingTable 20: Firebase MCP ServerTable 21: Crashlytics CommandsTable 22: App Testing and Advanced Commands

Table 1: Installation and Setup

MethodExampleDescription
npm global install
npm install -g firebase-tools
• Installs Firebase CLI globally via Node.js
• requires Node.js 18+ and enables npm update -g firebase-tools upgrades.
standalone binary
curl -sL | bash
• Downloads standalone executable without Node.js dependency
• auto-updates on launch.
Homebrew (macOS)
brew install firebase-cli
• Installs Firebase CLI on macOS via Homebrew
• update with brew upgrade firebase-cli.
npx (no install)
npx -y firebase-tools@latest deploy
• Runs CLI without global install
• useful for one-off commands or CI environments.

More in Operating Systems and CLI

  • find and File Search Commands in Linux Cheat Sheet
  • GCP CLI Cheat Sheet
  • AWS CLI Cheat Sheet
  • Linux Bash Cheat Sheet
  • nftables Modern Linux Firewall Cheat Sheet
  • tar gzip zip Archive and Compression Tools Cheat Sheet
View all 51 topics in Operating Systems and CLI