Command Reference
Complete reference for all Gemini CLI commands with syntax, options, and practical examples
11 commands commands found
Quick Start Guide
Get started with Gemini CLI in just a few commands
1
Install & Authenticate
npm install -g @google/gemini-cli
gemini auth
Install the CLI and authenticate with your Google account
2
Start Chatting
gemini chat
gemini ask "How do I...?"
Start an interactive session or ask quick questions
3
Analyze Code
gemini analyze app.js
gemini analyze . --recursive
Analyze files and projects for insights and improvements
Command Cheat Sheet
Essential Commands
gemini chat
Interactive AI sessiongemini ask "question"
Quick questiongemini analyze file
Analyze codegemini auth
AuthenticateChat Commands
/model name
Switch AI model/load file
Load file context/save file
Save conversation/clear
Clear historyπ‘ Tip: Use gemini help
or gemini --help
for more information