Skills2026年3月29日·1 分钟阅读

Gemini CLI Extension: Firebase — Project Deploy & Manage

Gemini CLI extension for Firebase. Deploy functions, manage databases, configure auth, and monitor projects via natural language.

Agent 就绪

这个资产会安全暂存

这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。

Stage only · 17/100策略:需暂存
Agent 入口
任意 MCP/CLI Agent
类型
CLI Tool
安装
Stage only
信任
信任等级:Community
入口
Gemini CLI Extension: Firebase
安全暂存命令
npx -y tokrepo@latest install 43efc92f-0517-4ad5-907c-08d899f32c66 --target codex

先暂存文件;激活前需要读取暂存 README 和安装计划。

TL;DR
Deploy and manage Firebase projects through natural language commands using the Gemini CLI Firebase extension.
§01

What it is

The Gemini CLI Firebase extension lets you manage Firebase projects from your terminal using natural language. Instead of memorizing firebase-cli flags, you describe what you want (deploy a function, set up authentication, query Firestore) and the Gemini CLI translates your intent into Firebase operations.

This extension targets Firebase developers, full-stack engineers, and teams using Google Cloud who want faster iteration cycles. It is maintained as part of Google's Gemini CLI Extensions ecosystem.

§02

How it saves time or tokens

Firebase CLI commands can be verbose and require remembering specific flags for each service. The Gemini CLI extension lets you express intent in plain English, reducing context switching between documentation and terminal. For common workflows like deploying functions, managing Firestore rules, or configuring authentication providers, this cuts the number of commands and documentation lookups. Token estimate for typical use: around 500 tokens per interaction.

§03

How to use

  1. Install the extension:
gemini extensions install firebase
  1. Authenticate with your Google account if not already signed in.
  1. Use natural language to manage your Firebase project:
gemini 'deploy my Cloud Functions to production'
gemini 'list all Firestore collections'
gemini 'enable Google sign-in for authentication'
§04

Example

# Install the extension
gemini extensions install firebase

# Deploy functions
gemini 'deploy all functions in the functions/ directory'

# Check deployment status
gemini 'show the status of my latest deployment'

# Manage Firestore
gemini 'create a Firestore index on the users collection for email field'

The extension handles translating these commands into the appropriate Firebase CLI operations.

§05

Related on TokRepo

§06

Common pitfalls

  • The extension requires an active Firebase project. Run firebase init first if you have not set up a project in the current directory.
  • Natural language commands can be ambiguous. If deployment targets are unclear, specify the project ID explicitly in your command.
  • Billing must be enabled on your Firebase project for Cloud Functions deployment. The extension cannot bypass Firebase pricing tiers.

常见问题

Does this extension require the Firebase CLI?+

Yes. The Gemini CLI Firebase extension works alongside the standard Firebase CLI tools. Make sure firebase-tools is installed and you are authenticated before using the extension.

What Firebase services does the extension support?+

The extension supports Cloud Functions deployment, Firestore management, Authentication configuration, Hosting deployment, and project monitoring. It covers the most common Firebase CLI operations.

Can I use this with multiple Firebase projects?+

Yes. You can specify which project to target in your natural language command or set a default project with firebase use. The extension respects the active project configuration.

Is the extension open source?+

Yes. The Firebase extension is part of Google's Gemini CLI Extensions organization on GitHub, available under an open-source license. You can review the source code and contribute.

Does it work offline?+

No. The extension requires an internet connection to communicate with both the Gemini API for natural language processing and the Firebase backend services for execution.

引用来源 (3)
🙏

来源与感谢

Created by Google. Licensed under Apache 2.0. gemini-cli-extensions/firebase Part of Gemini CLI — ⭐ 99,400+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产