Free Gemini CLI won't finish a first repo task
The free tier is gone. First win: a seat, then a git diff you read.
Typing gemini at a repo root often dies at login on a free personal Google account. The official README: on 2026-06-18, free individual access and Google AI Pro / Ultra (Google One) moved to Antigravity CLI. A first git-repo task needs a Code Assist seat or a paid key. To line up which CLI to use, open a room on oakmeet.
The searchable limit is free Gemini CLI will not finish a first repo task. Gemini CLI is for Gemini Code Assist Standard / Enterprise and Code Assist for GitHub. From google-gemini/gemini-cli and Get started.
A free install still fails at auth
Still searching “gemini free”
The docs banner and README agree: unpaid and Google One users should use Antigravity CLI (agy). Gemini CLI is also not optimized for Gemini 4 Argon.
Code Assist, then the repo
Org seat: export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID" then gemini. Paid key: export GEMINI_API_KEY (aistudio.google.com/apikey). Vertex: GOOGLE_API_KEY plus GOOGLE_GENAI_USE_VERTEXAI=true.
| You are | Use | First repo task |
|---|---|---|
| Free / Google One | Antigravity CLI (agy) | Do not stall on gemini login |
| Code Assist Standard / Enterprise | Gemini CLI (gemini) | Set the Cloud project, then edit |
| Call a model, skip the tree | Gemini API CLI | Not this git task |
Seat first, then one bounded file edit
- 01Confirm gemini is still the binary
Read the status table on the repo README. Free individual access has moved. If the org has Code Assist or you have a paid key,
npm install -g @google/gemini-cli(ornpx @google/gemini-cli). - 02Authenticate at the git root
cdinto an existing repo. Rungemini. At “How would you like to authenticate…”, pick 1. Sign in with Google. Code Assist needsGOOGLE_CLOUD_PROJECTfirst. Key path: exportGEMINI_API_KEY. - 03One change, pinned with @
The file tutorial treats a git repository as the working directory. Example:
@src/auth/session.ts return 401 when user id is missing. Do not touch billing.Large folders consume more tokens. - 04Press y on the unified diff, then git diff
Before a write you get a red/green unified diff.
yapplies,ncancels. Thengit statusandgit diff. Quota:/stats model.
# Code Assist org seat
export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID"
cd your-git-repo
npm install -g @google/gemini-cli
gemini
# @src/auth/session.ts return 401 if user id is missing. Do not touch billing.
# read the unified diff → y → git status && git diffFirst success is not a finished chat. It is the right seat, and a diff you still want after you read it.
- gemini as a free chat box
- The free tier moved. Without a seat or key, the repo task stops at login.
- Write without asking
- File tutorial: a unified diff appears before disk writes. n is a veto, not a failure.
- Five jobs in one prompt
- The first task pins one path and one check. Tests are a later turn.
Put “which CLI” and “which file” in two columns
If the fight is gemini vs agy, draw the seat and the keep-out list on one page. oakmeet is a browser whiteboard: space code in, no account. It is not Gemini CLI.
Separating ask vs edit on the desktop: Cursor Agent is a diff, not a chat box. After a commit: first PR from the terminal. Short alignment: start a room.
Can a free personal Google account still use Gemini CLI?
Official README: from 2026-06-18, free individual access and Google AI Pro / Ultra moved to Antigravity CLI. Gemini CLI is for Code Assist Standard / Enterprise, Code Assist for GitHub, plus legacy paid API / Vertex keys.
Should the first task git clone something?
The file tutorial’s prerequisite is an existing project directory (for example a git repository). Get started has a clone-then-explain example; that is reading code, not leaving a reviewable diff. cd into your own repo first.
Is y the same as git commit?
No. y only writes that unified diff to the working tree. History is still git. Run git diff yourself.
Does oakmeet log into Gemini CLI for me?
No. The start link only spreads the seat and the keep-out list. Auth and diffs stay in your terminal.