Gemini CLI是一款命令行AI工作流工具。它连接到用户的工具、理解用户的代码,并加速其工作流程。
该工具具备以下功能:
用户有两种安装选项:
通过 Node
npx https://github.com/google-gemini/gemini-cli。npm install -g @google/gemini-cli 进行全局安装,然后运行 gemini。通过 Homebrew
brew install gemini-cli,然后运行 gemini。使用Gemini API密钥:
export GEMINI_API_KEY="YOUR_API_KEY"。使用Vertex AI API密钥:
export GOOGLE_API_KEY="YOUR_API_KEY"export GOOGLE_GENAI_USE_VERTEXAI=true> Describe the main pieces of this system's architecture.> What security mechanisms are in place?> Provide a step-by-step dev onboarding doc for developers new to the codebase.> Summarize this codebase and highlight the most interesting patterns or techniques I could learn from.> Which parts of this codebase might be challenging to scale or debug?> What kind of error handling and logging strategies does the project use?> Implement a first draft for GitHub issue #123.> Help me migrate this codebase to the latest version of Java. Start with a plan.> Make me a slide deck showing the git history from the last 7 days, grouped by feature and team member.> Make a full-screen web app for a wall display to show our most interacted-with GitHub issues.> Convert all the images in this directory to png, and rename them to use dates from the exif data.> Organize my PDF invoices by month of expenditure.
暂无数据