Installation Guide
Get Gemini CLI up and running on your system in just a few minutes.
System Requirements
Prerequisites
- • Node.js version 18 or higher
- • npm or yarn package manager
- • Operating System: Windows 10+, macOS 10.15+, or Linux
- • Internet connection for initial setup and API calls
- • Google account for authentication (free tier available)
Installation
NPM Installation (Recommended)
Global Installation
npm install -g @google/gemini-cli
Using Yarn
yarn global add @google/gemini-cli
Authentication Setup
Login with Google Account
gemini auth login
This will open your browser and prompt you to sign in with your Google account.
Verify Installation
Check Version
gemini --version
Test Basic Command
gemini "Hello, please introduce yourself"
Installation Complete! 🎉
Great job! Gemini CLI is now installed and ready to use.