Gemini CLI

98 commands

npm install -g @google/gemini-clinpx @google/gemini-clibrew install gemini-clinpm update -g @google/gemini-clinpm uninstall -g @google/gemini-cligemini --versiongeminigemini --model gemini-3-flash-previewgemini -m gemini-3.1-pro-previewgemini --sandboxgemini -sgemini --debuggemini -dgemini --yologemini --checkpointinggemini --telemetrygemini --no-telemetrygemini --prompt 'Explain async/await in Python'gemini -p 'Summarize this file' < README.mdecho 'List 5 git best practices' | gemini -p ''gemini -p 'Fix this code' --output_format jsongemini -p 'What does this do?' @script.shcat error.log | gemini -p 'Diagnose this error log'gemini -p 'Refactor this' < main.py > refactored.py@filename.py@src/@README.md Summarize this project@package.json What are all the dev dependencies?@src/ @tests/ Write tests for any uncovered functions@https://example.com/docs Summarize this page!ls -la!git status!npm test!cat .env/help/clear/quit/about/bug/theme/theme dark/theme light/stats/auth/editor/privacy/docs/tools/extensions/mcp/memory show/memory add 'Always use TypeScript with strict mode'/memory refresh/chat save my-session/chat list/chat resume my-session/compressReadFile toolReadFolder toolReadManyFiles toolWriteFile toolEdit toolShell toolWebFetch toolSearchText toolFindFiles toolGoogleSearch toolSaveMemory tooltouch GEMINI.mdecho '# Project: My App\nStack: FastAPI + React' >> GEMINI.mdcat ~/.config/gemini/GEMINI.mdecho 'Always respond concisely.' >> ~/.config/gemini/GEMINI.mdcat ~/.config/gemini/settings.json# Add MCP server to settings.json under 'mcpServers' keygemini --mcp-server 'npx @modelcontextprotocol/server-filesystem /'mkdir -p ~/.config/gemini/commands && nano ~/.config/gemini/commands/review.toml# .toml format: [command]\nname = 'review'\ndescription = 'Review code'\nprompt = 'Review @$1 for bugs'export GEMINI_API_KEY='AIza...'export GOOGLE_API_KEY='AIza...'export GOOGLE_CLOUD_PROJECT='my-project-id'export GOOGLE_GENAI_USE_VERTEXAI=trueexport GEMINI_MODEL='gemini-3.1-pro-preview'export GEMINI_SANDBOX=true# settings.json: { "theme": "dark", "defaultModel": "gemini-3.1-pro-preview" }# settings.json: { "sandbox": { "enabled": true, "command": "docker" } }# settings.json: { "tokenCache": { "enabled": true } }docker pull gemini-sandbox-image# Sandbox uses Docker by default; falls back to Podman if Docker unavailable# Enable tokenCache in settings.json for repeated large-context sessions# Checkpoints stored in ~/.config/gemini/checkpoints/ by defaultgemini -p 'Add input validation to all API routes in @src/routes/'gemini -p 'Write unit tests for @src/auth.py and save them to tests/test_auth.py'gemini -p 'Explain the architecture of this project' @src/ @README.mdgemini -p 'Find all TODO comments and create a task list'gemini -p 'Review this PR diff and suggest improvements' < diff.patchgit diff HEAD~1 | gemini -p 'Summarize what changed in this commit'gemini -p 'Scaffold a new FastAPI endpoint for /users/profile' @src/gemini -p 'Debug this error: $(cat error.log)' @src/main.py
Search all 7,657 commands instead.