{"schemaVersion":"opencli.cli.v1","slug":"firebase","name":"Firebase CLI","shortName":"firebase","binaryName":"firebase","maker":{"slug":"firebase","name":"Firebase","type":"org","url":"https://firebase.google.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Cloud","description":"The official CLI from Firebase. Hosting, functions, and project setup from the terminal. Supports structured output — good for scripts and agents.","tagline":"Hosting, functions, and project setup from the terminal.","install":{"packageManager":"npm","command":"npm i -g firebase-tools","packageName":null,"npmPackage":"firebase-tools","brewFormula":null,"brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"firebase --help","signal":"firebase responds locally; authenticate before real work."},"quickStart":"firebase login && firebase init","exampleWorkflow":["firebase login && firebase init"],"agent":{"readiness":{"label":"Great for agents","score":75,"reasons":["Structured output is available for parsing.","Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Verify identity/account before running task commands.","Network access is required; avoid leaking secrets in logs.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/firebase/agent.md","packMarkdown":"# OpenCLI Agent Pack: Firebase CLI\n\nUse this when an AI agent needs to work with `firebase`.\n\n## What this CLI is for\nThe official CLI from Firebase. Hosting, functions, and project setup from the terminal. Supports structured output — good for scripts and agents.\n\nBest for: hosting, functions, and project setup from the terminal.\n\n## Agent readiness\nGreat for agents (75/100)\n- Structured output is available for parsing.\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nnpm i -g firebase-tools\n```\n\n## Verify before real work\n```sh\nfirebase --help\n```\nExpected signal: firebase responds locally; authenticate before real work.\n\n## Safe starting commands\n```sh\nfirebase --help\n```\n\n```sh\nfirebase login && firebase init\n```\n\n## Guardrails for agents\n- Verify identity/account before running task commands.\n- Network access is required; avoid leaking secrets in logs.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use Firebase CLI (`firebase`) for hosting, functions, and project setup from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"hosting, functions, and project setup from the terminal.","useThisIf":"You want cloud infrastructure you can script with structured output.","skipIf":"You're not comfortable with a tool that can write to production.","whatHappensNext":"Run `firebase login && firebase init` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":true,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":true,"requiresNetwork":true,"ciFriendly":true,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["Hosting","Functions","Project setup"],"aliases":["firebase cli"],"keywords":["hosting functions emulators"],"tags":["official","agent-friendly","ci-friendly"]},"links":{"website":"https://firebase.google.com/docs/cli","github":"https://github.com/firebase/firebase-tools","docs":"https://firebase.google.com/docs/cli","opencli":"https://opencli.co/cli/firebase","markdown":"https://opencli.co/cli/firebase/agent.md","json":"https://opencli.co/cli/firebase.json"},"metrics":{"githubStars":4422,"latestRelease":"2026-06-05T23:26:05Z","license":"MIT","metricLabel":"npm weekly downloads","metricValue":1911056,"metricSource":"npm","metricAsOf":"2026-06-08T11:00:30.957Z"}}