Gemini CLI

Google's open-source terminal coding agent supports Gemini API keys and Vertex AI, with migration guidance for legacy consumer Google sign-in.

GoogleCLI · IDE

Setup & Installation

Install

CLI · npm
npm install -g @google/gemini-cli
Note: Install the Node.js version required by the official guide.

Launch

gemini

Authentication

Use a Gemini API key or Vertex AI. Former Gemini Code Assist consumer sign-in users can follow the Antigravity migration guide.

Config Path(Optional)

%USERPROFILE%\.gemini\settings.json