Automic VaultAutomic Vault

brew

使用 Homebrew, winget, scoop 安装 firebase-cli

查看 firebase-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

firebase-cli deploys and manages Firebase projects and Google-backed resources.

凭据访问

Reads Firebase auth tokens, project config, service credentials, and environment variables.

远程变更

Can deploy hosting, functions, rules, and project configuration.

发布/制品风险

Publishes web assets, functions, and security rules.

推荐控制

Gate deploy, functions, rules, login, and token operations.

代理使用指南

Allow project inspection; require approval before deploys or rule changes.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install firebase-cli

local Homebrew formula metadata

Windows

Windows Package Manager已验证 · 92%
winget install --id Google.FirebaseCLI -e

Windows Package Manager source index · Google.FirebaseCLI · 来源: cdn.winget.microsoft.com

Scoop已验证 · 92%
scoop install main/firebase

Scoop official bucket manifest trees · bucket/firebase.json · 来源: api.github.com

概览

软件包摘要

Firebase command-line tools

命令和别名

  • firebase

历史

项目历史与用法

Firebase CLI is Google's command-line tool for testing, managing, and deploying Firebase projects. The `firebase` executable covers project setup, deployment, local emulation, Hosting, Realtime Database, Firestore, Cloud Functions, Authentication import/export, Extensions, App Distribution, Remote Config, and related Firebase operations.

项目历史

The firebase-tools GitHub repository was created in December 2013, during Firebase's early developer-platform era. The official README now describes it as both the Firebase Command Line Interface tools and the home of the official Firebase MCP Server.

Firebase CLI grew with the Firebase platform. Its README command list shows the tool expanding beyond Hosting deployment into project management, local emulators, App Distribution, Authentication, Realtime Database, Extensions, Firestore, Cloud Functions, Hosting, and Remote Config.

采用历史

The primary installation path is npm: `npm install -g firebase-tools` provides the globally accessible `firebase` command. The official README also documents a standalone binary installer, which matters for users who want a dependency-light CLI outside a Node development environment.

Firebase CLI adoption is tied to Firebase project workflows. Developers use it locally for `firebase init`, `firebase login`, emulator startup, and deployment; teams use it in CI for deploys, project listing, and authenticated service-account or token-based automation.

使用方式

A typical workflow starts with `firebase login` and `firebase init`, which creates a `firebase.json` configuration file in the current project directory. Deployment commands then rely on that local project folder and configuration.

The CLI is also a local development surface. Commands such as `emulators:start`, `emulators:exec`, `serve`, and Functions shell support let developers test Firebase services before deploying to Google-hosted infrastructure.

为什么软件包爱好者会关心

Firebase CLI is significant because it is a cloud product's operational surface packaged as a local developer tool. Installing one package gives a project its deploy command, emulator runner, auth setup, project selector, data import/export utility, and CI automation hook.

For package managers, it is also a Node-based CLI with standalone binary distribution, so it sits at the intersection of npm global installs, Homebrew-style desktop tooling, and vendor-managed cloud workflows.

时间线

  • 2013: firebase-tools repository is created on GitHub.
  • 2010s: npm global installation becomes the primary documented installation path for the `firebase` command.
  • 2020s: CLI command surface includes local emulators, App Distribution, Extensions, Firestore, Functions, Hosting, and Remote Config workflows.
  • 2026: Repository metadata and the README snapshot used for this enrichment show active maintenance and the addition of the official Firebase MCP Server in the same repository.

Related projects

  • Firebase Hosting, Cloud Functions for Firebase, Realtime Database, Cloud Firestore, Authentication, Remote Config, App Distribution, Extensions, and the Emulator Suite are first-party services managed by the CLI.
  • Node.js and npm are the primary runtime and package-manager path documented for installing firebase-tools.
  • Google Cloud service-account credentials and Application Default Credentials are supported authentication paths for automation.

安全态势

尚未找到受保护工具覆盖

没有找到 firebase-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/configstore/firebase-tools.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/configstore/firebase-tools.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
firebasecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本15.24.0
管理器更新时间2026-07-17
本地数据OK
上游not checked
检测到的最新版本未检测到

https://firebase.google.com/docs/cli/

安装元数据

软件包元数据

软件包键brew:firebase-cli
版本15.24.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/firebase-cli
主页https://firebase.google.com/docs/cli/
仓库https://github.com/firebase/firebase-tools
上游文档https://firebase.google.com/docs/cli
许可证MIT
源码归档https://registry.npmjs.org/firebase-tools/-/firebase-tools-15.24.0.tgz
最后更新2026-07-17T03:06:24Z
Pulseupdated
依赖node
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefirebase-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

winget95%

Google.FirebaseCLI

winget install --id Google.FirebaseCLI -e
  • normalized package name match
  • 匹配方式:Firebase Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Google.FirebaseCLI from https://cdn.winget.microsoft.com/cache/source.msix
Scoop92%

main/firebase

scoop install main/firebase
  • installed executable or alias match
  • 匹配方式:Firebase
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/firebase.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment