Articles: Gemini CLI

Gemini CLI Policy Engine: Control Tool Calls with TOML Rules
Write Gemini CLI policy rules in TOML: allow, deny or ask_user decisions, MCP rules, priorities and file locations.

Gemini CLI headless mode: JSON, streams and exit codes
Run Gemini CLI headlessly: -p prompts, pipes, JSON or JSONL output, exit codes and environment-based authentication.

Migrate Gemini CLI to Antigravity: configs, skills and MCP
Move Gemini CLI profiles, plugins, skills and MCP servers to Antigravity CLI without losing project rules.

Gemini CLI in VS Code: Companion Setup and Diff Review
Connect Gemini CLI to VS Code, inspect editor context and review changes through the Companion extension.

How to update Gemini CLI: npm, Homebrew, npx and channels
Update Gemini CLI with npm install -g @google/gemini-cli@latest or your package manager's command, then check gemini -v.
