Fix Gemini CLI Login Error: GOOGLE_CLOUD_PROJECT Required Solution

1 days ago 高效码农

Gemini CLI Login Error: “GOOGLE_CLOUD_PROJECT Required” – A Step-by-Step Fix for Personal Gmail Accounts A field report from EasonIndie, 8 hours and 49 minutes after the first error message appeared. 1. The Scene: A Quiet Evening, Then a Red Wall of Text I had just brewed coffee and opened my terminal. The goal was simple: connect the Gemini CLI to my personal Gmail account and enjoy the advertised 1,000 free requests per day. Instead, the screen greeted me with: Failed to login. Message: This account requires setting the GOOGLE_CLOUD_PROJECT env var. See https://goo.gle/gemini-cli-auth-docs#workspace-gca No drama, just a hard stop. Below …