Skip to content

TheSicknesszar/Firebase-CLI-Cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Markdown

πŸ”₯ Firebase CLI Cheatsheet

A comprehensive, interactive reference for 80+ Firebase CLI commands

Browse by category β€’ Search instantly β€’ Copy with one click

GitHub last commit GitHub stars License: MIT


🌐 Open Web Version Β· 🐍 Download Python App Β· πŸ“– Command List


πŸ“‹ About

Firebase CLI Cheatsheet is a developer reference tool that puts every Firebase CLI command at your fingertips. No more digging through documentation β€” search, browse, and copy commands instantly.

Available in two formats:

  • 🌐 HTML5 Web App β€” Zero dependencies, runs in any browser, mobile-friendly
  • 🐍 Python Tkinter App β€” Native desktop GUI, no packages to install

Both versions include 80+ commands across 16 categories, each with:

  • βœ… The exact command syntax
  • βœ… A clear description of what it does
  • βœ… Expandable details with flags, options, and real-world examples
  • βœ… One-click copy to clipboard

πŸ–₯️ Screenshots

Web Version (HTML5)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ πŸ”₯ Firebase CLI Cheatsheet πŸ” Search... β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ CATEGORIES β”‚ πŸš€ Setup & Login β”‚ β”‚ β”‚ 6 commands β”‚ β”‚ πŸš€ Setup β”‚ β”‚ β”‚ πŸ“ Projects β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ 🌐 Hosting β”‚ β”‚ $ firebase login πŸ“‹ Copy β”‚ β”‚ β”‚ ⚑ Functions β”‚ β”‚ Authenticate with your Google account. β”‚ β”‚ β”‚ πŸ”₯ Firestore β”‚ β”‚ β–Ά Details β”‚ β”‚ β”‚ πŸ—„οΈ Database β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ πŸ”’ Auth β”‚ β”‚ β”‚ πŸ“¦ Storage β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ πŸ§ͺ Emulators β”‚ β”‚ $ firebase login:ci πŸ“‹ Copy β”‚ β”‚ β”‚ 🚒 Deploy β”‚ β”‚ Generate a CI/CD authentication token. β”‚ β”‚ β”‚ πŸ”Œ Extensionsβ”‚ β”‚ β–Ά Details β”‚ β”‚ β”‚ ... β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

text


πŸš€ Quick Start

🌐 Web Version (Recommended β€” No Install Required)

Option 1 β€” GitHub Pages (Online)

πŸ‘‰ Open in Browser

Option 2 β€” Local

# Clone the repo
git clone https://github.com/TheSicknesszar/Firebase-CLI-Cheatsheet.git

# Open the HTML file directly in your browser
# Windows:
start firebase_cli_reference.html

# macOS:
open firebase_cli_reference.html

# Linux:
xdg-open firebase_cli_reference.html

# The HTML version is a single self-contained file β€” no server, no build step, no dependencies.

## 🐍 Python Desktop App

# Clone the repo
git clone https://github.com/TheSicknesszar/Firebase-CLI-Cheatsheet.git
cd Firebase-CLI-Cheatsheet

# Run the app
python firebase_cli_reference.py
Requirements:

Python 3.7+
Tkinter (included with Python on Windows and macOS)
No external packages needed. Uses only Python's built-in tkinter library.

<details> <summary>🐧 Linux users β€” install Tkinter if needed</summary>

```bash
# Ubuntu / Debian
sudo apt-get install python3-tk

# Fedora
sudo dnf install python3-tkinter

# Arch
sudo pacman -S tk
</details>
πŸ“š Command Categories
#	Category	Commands	Description
1	πŸš€ Setup & Login	6	Install CLI, authenticate, manage accounts
2	πŸ“ Project Management	12	Init projects, switch projects, manage aliases
3	🌐 Hosting	9	Deploy sites, preview channels, local server
4	⚑ Cloud Functions	12	Deploy, log, shell, config, secrets
5	πŸ”₯ Firestore	5	Rules, indexes, delete data
6	πŸ—„οΈ Realtime Database	9	CRUD operations, profiling, multi-instance
7	πŸ”’ Auth	2	Import/export user accounts
8	πŸ“¦ Storage	2	Deploy storage security rules
9	πŸ§ͺ Emulators	7	Local dev, persistent data, CI/CD testing
10	🚒 Deployment	5	Full/partial deploys, rollbacks
11	πŸ”Œ Extensions	6	Install, configure, update extensions
12	πŸ”§ App Management	6	Register apps, SDK config, SHA certs
13	🌍 Remote Config	3	Get, rollback, version history
14	πŸ“Š App Distribution	3	Distribute APK/IPA, manage testers
15	πŸ› οΈ Misc & Utilities	7	Help, version, open console, deploy targets
16	πŸ—οΈ Frameworks	2	Next.js, Angular, Nuxt, SvelteKit support
Total: 80+ commands with detailed descriptions

✨ Features
Both Versions
πŸ” Instant Search β€” Filter across commands, descriptions, and details
πŸ“‹ One-Click Copy β€” Copy any command to clipboard instantly
πŸ“‚ 16 Categories β€” Organized by Firebase service
πŸ“– Expandable Details β€” Flags, options, and examples for every command
🎨 Dark Theme β€” Easy on the eyes for long sessions
Web Version (HTML5)
πŸ“± Fully Responsive β€” Works on desktop, tablet, and mobile
⌨️ Keyboard Shortcuts β€” Ctrl+K to search, Esc to clear
πŸ” Mobile Menu β€” Hamburger sidebar on small screens
⚑ Zero Dependencies β€” Single HTML file, works offline
🌐 GitHub Pages Ready β€” Deploy instantly
Python Version (Tkinter)
πŸ–₯️ Native Desktop App β€” Runs as a standalone window
πŸš€ No Pip Installs β€” Uses only built-in Python libraries
βœ… Cross-Platform β€” Windows, macOS, Linux
πŸ—‚οΈ Project Structure
text

Firebase-CLI-Cheatsheet/
β”‚
β”œβ”€β”€ firebase_cli_reference.html   ← 🌐 Web version (standalone, no dependencies)
β”œβ”€β”€ firebase_cli_reference.py     ← 🐍 Python Tkinter desktop app
β”œβ”€β”€ README.md                     ← πŸ“– This file
β”œβ”€β”€ .gitignore                    ← 🚫 Git ignore rules
└── LICENSE                       ← βš–οΈ MIT License
πŸ”₯ Sample Commands
Here's a taste of what's included:

Getting Started
Bash

npm install -g firebase-tools     # Install the CLI
firebase login                    # Authenticate
firebase init                     # Initialize a project
Deploying
Bash

firebase deploy                           # Deploy everything
firebase deploy --only hosting            # Deploy hosting only
firebase deploy --only functions:myFunc   # Deploy one function
firebase deploy --except functions        # Deploy all except functions
Local Development
Bash

firebase emulators:start                                       # Start all emulators
firebase emulators:start --import ./data --export-on-exit      # Persistent local data
firebase serve --only hosting                                  # Local hosting server
firebase functions:shell                                       # Test functions locally
### Data Management

```bash
firebase database:get /users --output users.json   # Export Realtime DB data
firebase firestore:delete users/uid123 --recursive  # Delete Firestore docs
firebase auth:export users.json --format json       # Export all users

⌨️ Keyboard Shortcuts (Web Version)

Shortcut Action
Ctrl + K / ⌘ + K Focus search bar
Escape Clear search
🀝 Contributing
Contributions are welcome! If you'd like to add commands, fix descriptions, or improve the UI:
  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/add-new-commands
  3. Commit your changes
    git commit -m "Added: new Firestore commands"
  4. Push to your fork
    git push origin feature/add-new-commands
  5. Open a Pull Request

Ideas for Contributions

  • Add Firebase Crashlytics CLI commands
  • Add Firebase Performance Monitoring commands
  • Add Google Cloud CLI integration commands
  • Add firebase.json configuration examples
  • Add dark/light theme toggle to web version
  • Export commands as PDF/Markdown

πŸ”— Links

Resource Link
🌐 Live Web Version GitHub Pages
πŸ“¦ Repository GitHub
πŸ“˜ Official Firebase Docs firebase.google.com/docs/cli
πŸ“¦ Firebase CLI npm npmjs.com/package/firebase-tools
πŸ§ͺ Emulator Suite Docs firebase.google.com/docs/emulator_suite
Built with ❀️ by TheSicknessZA

⭐ Star this repo if you found it useful! ⭐

```

About

πŸ”₯ A comprehensive Firebase CLI command reference with 80+ commands β€” available as a Python (Tkinter) desktop app and a standalone HTML5 web app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors