Gemini CLI
Google's Gemini coding agent on the command line.
What is Gemini CLI?
Gemini CLI is Google's command-line coding agent backed by Gemini models. It uses a shared global setup at `~/.gemini/` for auth and configuration, then accepts a per-invocation system prompt.
Gemini CLI + Watchfire
Watchfire writes a dedicated prompt file under `~/.watchfire/gemini-home/<session>/system.md` for each session and points `GEMINI_SYSTEM_MD` at it. Your Gemini login and shared CLI settings still come from `~/.gemini/`, but the Watchfire system prompt and task context stay isolated per session.
- Watchfire sets `GEMINI_SYSTEM_MD` to a per-session prompt file
- Auth and shared settings live in `~/.gemini/`
- Keep Gemini CLI working outside Watchfire first — Watchfire reuses the shared setup
Setup
Install Watchfire and initialise a project that defaults to Gemini CLI. Make sure the agent CLI itself is installed and signed in first.
watchfire init --agent geminiGet started with Watchfire
Install in seconds. Define tasks. Let agents ship code for you.
Download for macOSAvailable for macOS, Linux, and Windows
# Install via Homebrew (macOS)brew tap watchfire-io/tapbrew install --cask watchfire-io/tap/watchfire# Set up your project and gowatchfire initwatchfire task add "Build the login page"watchfire start --allIncludes GUI, CLI, and daemon. Also available via Homebrew.