| marp | true |
|---|---|
| theme | tessl-cheatsheet |
| paginate | false |
| size | 1400px 1200px |
npm install -g @google/gemini-cli
geminiFree tier: 60 req/min, 1000 req/day with Google account.
| Command | Description |
|---|---|
/tools |
List available tools |
/mcp |
Show MCP servers |
/chat |
New conversation |
/restore |
Restore session |
/clear |
Clear conversation |
/bug |
Report issue |
| Key | Action |
|---|---|
Enter |
Send message |
Shift+Enter |
New line |
Ctrl+C |
Cancel/interrupt |
Tab |
Autocomplete |
Up/Down |
History navigation |
| Tool | Function |
|---|---|
read_file / write_file |
Read and modify files |
list_directory / glob |
Browse and find files |
search_file_content |
Grep/search code |
run_shell_command |
Execute terminal commands |
web_fetch / google_web_search |
Web access |
codebase_investigator |
Deep code analysis agent |
Settings: ~/.gemini/settings.json
Project config: GEMINI.md in project root
Add servers to ~/.gemini/settings.json under mcpServers. Use with @servername prefix.
ReAct loop: prompt → reason → act → observe → repeat
| Model | Best For |
|---|---|
| Gemini 2.5 Pro | Complex coding |
| Gemini 2.5 Flash | Fast iteration |
| Gemini 3 Pro | Agentic tasks |
- Be specific, reference files by path
- Use
GEMINI.mdfor project context - Let it ask clarifying questions
Tessl · Gemini CLI Cheat Sheet · __VERSION__