firebase-cli

Automate Firebase CLI deployments for hosting, functions, and emulators.

40|9|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/akillness/oh-my-skills --skill firebase-cli-akillness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-cli
Source: https://github.com/akillness/oh-my-skills/tree/main/.agent-skills/firebase-cli
Command: npx skills add https://github.com/akillness/oh-my-skills --skill firebase-cli-akillness

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, npm, curl, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Deploying and managing Firebase projects across hosting, Cloud Functions, Firestore, and emulators can be tedious and error-prone when done manually.

Core Features & Use Cases

  • Install, configure, and operate the Firebase CLI (firebase-tools) to deploy hosting, functions, databases, and emulators.
  • Streamline CI/CD workflows by enabling non-interactive deployments, preview channels, and emulator integration.
  • Use cases include deploying a new site, updating functions, running local emulators for testing, and rolling out preview channels to stakeholders.

Quick Start

Install the Firebase CLI and run your first deployment with firebase deploy --only hosting.

Frequently Asked Questions about firebase-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Firebase CLI deployment for hosting and functions in a CI/CD workflow?

Automate Firebase CLI deployment by running non-interactive commands for hosting and functions within your CI/CD pipeline. This streamlines rolling out sites, updating functions, and deploying preview channels to stakeholders.

Can I run Firebase emulators locally for testing before deploying functions and Firestore?

Yes, you can run Firebase emulators locally for testing functions and Firestore. The Firebase CLI provides emulator management commands to validate changes locally before deploying to staging or production environments.

Do I need Node.js and npm to install firebase-tools, or can I use a standalone binary?

You need Node.js and npm for standard firebase-tools installation, but a standalone binary is also supported. Auxiliary tools like curl and python3 are required for scripted interactions across different platforms.

What is the best way to deploy a new Firebase hosting site and update Cloud Functions?

The best way to deploy a new Firebase hosting site and update Cloud Functions is using the Firebase CLI. Execute targeted deployment commands to selectively push hosting content or function updates across development and staging environments.

Why use Firebase preview channels for staging instead of directly deploying to production?

Firebase preview channels provide isolated staging URLs for stakeholders to review changes. Using the Firebase CLI to deploy to preview channels prevents untested hosting updates or function changes from affecting production environments.

Does the Firebase CLI support non-interactive initialization and deployment across multiple platforms?

Yes, the Firebase CLI supports non-interactive initialization and deployment across multiple platforms. It provides installation, initialization, and deployment commands designed for automated CI/CD workflows and scripted interactions.