›_DevSetupv1.0
~/tools/gemini-cli

Install Gemini CLI

AI agent↳ requires Node.js2 steps

Google's Gemini Code Assist — an AI coding agent that works in your terminal. Requires Node.js.

2 steps · deps resolved
1
step 1/2 · dependency

Install Node.js

LTS v24.x

JavaScript runtime built on Chrome's V8 engine. Required for npm, npx, and most JS-based CLI tools.

$curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
$source ~/.nvm/nvm.sh
$nvm install 24
2
step 2/2 · target

Install Gemini CLI

Google's Gemini Code Assist — an AI coding agent that works in your terminal. Requires Node.js.

$npm install -g @google/gemini-cli

That’s it. You’re set up.

Run gemini in any project to start.

Get started

Verify your install:

$gemini --version
geminiStart interactive session
gemini "explain this file"Quick question

Full CLI referencecoming soon

About

Gemini CLI is Google's terminal AI coding agent. It offers a generous free tier — 1,000 requests per day with a Google account, no credit card required. Similar workflow to Claude CLI and Codex CLI: reads files, runs commands, and iterates on code. A good starting point if you want to try an AI coding agent without committing to a paid plan.

Compare
Claude CLI vs Gemini CLIsoon
Codex CLI vs Gemini CLIsoon
Related tools