Files
gh-robbyt-claude-skills-plu…/skills/cli/references/commands.md
2025-11-30 08:52:28 +08:00

1.7 KiB

Gemini CLI Quick Reference

Minimal reference for using Gemini CLI with this skill. For complete documentation, see official Gemini CLI docs.

Installation

macOS (Recommended):

brew install gemini-cli

Cross-Platform (npm):

npm install -g @google/gemini-cli

Verify:

gemini --version  # Should show v0.17.0+

Authentication

⚠️ IMPORTANT: Gemini CLI must be authenticated before using this skill. Claude Code will NOT configure authentication for you.

Prerequisites:

  • Gemini CLI installed and authenticated
  • Test that gemini "test" -o text works

Setup instructions: See the official Gemini CLI documentation for authentication setup.

If this skill fails with auth errors:

  • Complete authentication setup manually using official docs
  • Verify with: gemini "test" -o text
  • Then retry using the skill

Basic Usage

For code review:

gemini "Review this code for security issues: [code]" -o text

For web research:

gemini "What's new in React 19? Use Google Search." -o text

For architecture analysis:

gemini "Use codebase_investigator to analyze this project" -o text

Common Options

Run gemini --help for complete list. Key options used by this skill:

  • -o text - Human-readable output (default for consulting)
  • -o json - Structured output with stats
  • -m gemini-2.5-flash - Faster model for simple tasks

More Information