<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk" -->

---
title: Enhance Your Firebase Studio Workflow with Gemini CLI
description: Gemini CLI, Google's command-line AI agent, is now preinstalled in Firebase Studio, letting developers access it directly from the terminal for tasks like code...
canonical: https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Enhance Your Firebase Studio Workflow with Gemini CLI | daily.dev
og:description: Gemini CLI, Google's command-line AI agent, is now preinstalled in Firebase Studio, letting developers access it directly from the terminal for tasks like code...
og:url: https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk
og:image: https://api.daily.dev/og/posts/6OFjEIzdK.png
og:image:alt: Enhance Your Firebase Studio Workflow with Gemini CLI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Enhance Your Firebase Studio Workflow with Gemini CLI

**[Firebase](https://daily.dev/sources/firebase-blog)** · 4 min read · 0 upvotes · 0 comments

## Summary

Gemini CLI, Google's command-line AI agent, is now preinstalled in Firebase Studio, letting developers access it directly from the terminal for tasks like code generation, debugging, refactoring, and research. The guide covers accessing the terminal in Code view, authenticating with a free Gemini Code Assist license (60 requests/minute, 1,000/day), and customizing behavior via settings.json, environment variables, and a GEMINI.md instructions file. It also lists useful chat commands (explain, refactor, debug, summarize) and built-in slash commands (/help, /chat, /tools, /restore), plus a non-interactive scripting mode using the --prompt flag.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://firebase.blog/posts/2025/07/firebase-studio-gemini-cli>

## Questions this post answers

### How do I access Gemini CLI inside Firebase Studio?

Gemini CLI comes preinstalled in Firebase Studio and can be launched from the terminal. Switch to Code view if working in Prototyper mode, open a new terminal, and type 'gemini' to start it, then pick a color theme and authenticate. Logging in with a Google account grants a free Gemini Code Assist license with 60 requests per minute and 1,000 per day.

_Developers wiring AI agents into their IDE workflow follow tool integrations like this on daily.dev._

### How do I run Gemini CLI in non-interactive mode for scripts?

Use the --prompt or -p flag to run Gemini CLI in non-interactive mode, which executes a single command and then exits automatically, making it suitable for scripting and automation. For example, running 'gemini -p "Create a markdown file that explains my app's architecture"' generates output without entering the interactive chat session.

_Automating AI-assisted tasks in build pipelines is easier when developers track CLI updates on daily.dev._

### How do I give Gemini CLI project-specific context and instructions?

Create a GEMINI.md file in the project to supply project-specific instructions, coding style guides, or background information, which Gemini CLI uses to tailor its responses. This same file also customizes Gemini in Firebase, unless a separate .idx/airules.md file exists, in which case Gemini CLI uses GEMINI.md and Gemini in Firebase uses airules.md.

_Configuring AI coding agents with project context is a workflow developers refine and share on daily.dev._

## Similar posts on daily.dev

- [Coding With the Gemini CLI Tool](https://daily.dev/posts/coding-with-the-gemini-cli-tool-jxqxwaolg) · The New Stack · 0 upvotes · 0 comments
- [Gemini CLI Quick Start](https://daily.dev/posts/gemini-cli-quick-start-slsvbuocy) · Faun · 0 upvotes · 0 comments

---

Tags: [#google](https://daily.dev/tags/google)

[View this post on daily.dev](https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Enhance Your Firebase Studio Workflow with Gemini CLI","url":"https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk"},"datePublished":"2026-08-23T12:17:42.083Z","dateModified":"2026-08-24T06:58:05.896Z","description":"Gemini CLI, Google's command-line AI agent, is now preinstalled in Firebase Studio, letting developers access it directly from the terminal for tasks like code...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/28494d3b658ccb8e6f367144bac96b3e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/28494d3b658ccb8e6f367144bac96b3e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Firebase","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Firebase","logo":"https://media.daily.dev/image/upload/s--i395oqZH--/f_auto,q_auto/v1787487448/logos/firebase-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/firebase-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"google","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Firebase","item":"https://daily.dev/sources/firebase-blog"},{"@type":"ListItem","position":3,"name":"Enhance Your Firebase Studio Workflow with Gemini CLI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/enhance-your-firebase-studio-workflow-with-gemini-cli-6ofjeizdk#faq","mainEntity":[{"@type":"Question","name":"How do I access Gemini CLI inside Firebase Studio?","acceptedAnswer":{"@type":"Answer","text":"Gemini CLI comes preinstalled in Firebase Studio and can be launched from the terminal. Switch to Code view if working in Prototyper mode, open a new terminal, and type 'gemini' to start it, then pick a color theme and authenticate. Logging in with a Google account grants a free Gemini Code Assist license with 60 requests per minute and 1,000 per day. Developers wiring AI agents into their IDE workflow follow tool integrations like this on daily.dev."}},{"@type":"Question","name":"How do I run Gemini CLI in non-interactive mode for scripts?","acceptedAnswer":{"@type":"Answer","text":"Use the --prompt or -p flag to run Gemini CLI in non-interactive mode, which executes a single command and then exits automatically, making it suitable for scripting and automation. For example, running 'gemini -p \"Create a markdown file that explains my app's architecture\"' generates output without entering the interactive chat session. Automating AI-assisted tasks in build pipelines is easier when developers track CLI updates on daily.dev."}},{"@type":"Question","name":"How do I give Gemini CLI project-specific context and instructions?","acceptedAnswer":{"@type":"Answer","text":"Create a GEMINI.md file in the project to supply project-specific instructions, coding style guides, or background information, which Gemini CLI uses to tailor its responses. This same file also customizes Gemini in Firebase, unless a separate .idx/airules.md file exists, in which case Gemini CLI uses GEMINI.md and Gemini in Firebase uses airules.md. Configuring AI coding agents with project context is a workflow developers refine and share on daily.dev."}}]}
```

