Gemini CLI
Gemini CLI is deprecated in Daintree. It still launches and resumes, but Google retired it for individual accounts. Use Antigravity instead.
Gemini CLI
Gemini CLI is Google's CLI coding agent. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.
| Command | gemini |
|---|---|
| Shortcut | Option-Command-G Control-Alt-G Control-Alt-G |
| Color | Blue (#4285F4) |
| Context window | 1,000,000 tokens |
| Default rendering | Alt-screen escapes are blocked; output lands in Daintree's scrollback |
| Permission bypass | --yolo |
| Platforms | macOS, Windows, Linux |
Install & Authenticate
Install from npm: npm install -g @google/gemini-cli. Run gemini and follow the prompts to authenticate with a Google account. Daintree reads that state from ~/.gemini/oauth_creds.json, ~/.gemini/google_accounts.json, or GEMINI_API_KEY.
An individual Google account no longer gets served, so a fresh install will authenticate and then fail at the first request. Only enterprise Gemini Code Assist entitlements still work.
How Daintree Launches It
Gemini CLI's TUI takes the alternate screen buffer. Daintree blocks those escapes and sets GEMINI_CLI_ALT_SCREEN=false so output flows into its own scrollback and stays selectable.
Gemini is the one agent with a share clipboard directory setting, on by default. It passes --include-directories for the temporary directory Daintree writes pasted clipboard images into, so Gemini can read them. Turn it off in Settings → Agents if you would rather Gemini not see that directory.
Gemini's permission-bypass flag is --yolo, and Daintree injects it only when you turn bypass on for the agent or a preset. The global "skip permission prompts" switch passes Gemini over — the agent no longer declares bypass support, so the global override never turns it on for you.
Resuming Sessions
Daintree captures Gemini's session ID and resumes with gemini --resume <session-id>. Quit cleanly with /quit so the ID is captured. When it isn't, the fallback is gemini -r latest — the latest argument is required, because a bare -r opens an interactive picker that blocks the terminal. For the resume mechanics across all agents, see Session Resume.