Step-by-step installation guide with supported platforms and system requirements for all Gemini features.
Start SetupDownload and install the Gemini SDK for your platform using our 2-minute install wizard. Includes GPU support detection and automatic dependency resolution.
Download SDKCreate a free developer account and generate an API key. Use the CLI tool to authenticate and verify your setup with a quick test command.
Get API KeyOpen your terminal and run `gemini --version` to verify installation. Try the first demo command to generate code or content.
Run Your First PromptThe Gemini CLI provides direct access to all AI capabilities with simple commands for code generation, content creation, and image processing.
{`curl -fsSL https://cli.gemini.com/install.sh | sh source ~/.bashrc gemini --version`}
{`brew tap gemini/cli brew install gemini gemini --version`}
{`winget install GeminiCLI Start-Process gemini --version`}
Set up your API credentials with environment variables or config files. All API endpoints require valid authentication tokens.
{`# API Authentication Example
GEMINI_API_KEY="your-api-key-here"
curl -X POST https://api.gemini.com/v1/complete \\
-H "Authorization: Bearer $GEMINI_API_KEY" \\
-H "Content-Type: application/json" \\
-d '{"prompt":"Create a Node.js server"}'
`}
Follow our step-by-step guides for local development or cloud deployment. The Gemini SDK is optimized for maximum performance with minimal configuration.
Start Your First Project