An open-source AI agent that brings the power of Gemini directly into your terminal.
# Add to your Claude Code skills
git clone https://github.com/google-gemini/gemini-cli
Gemini CLI is an open-source AI agent that brings the power of Gemini directly into your terminal. It provides lightweight access to Gemini, giving you the most direct path from your prompt to our model.
Learn all about Gemini CLI in our documentation.
No comments yet. Be the first to share your thoughts!
See Gemini CLI installation, execution, and releases for recommended system specifications and a detailed installation guide.
# Using npx (no installation required)
npx @google/gemini-cli
npm install -g @google/gemini-cli
brew install gemini-cli
sudo port install gemini-cli
# Create and activate a new environment
conda create -y -n gemini_env -c conda-forge nodejs
conda activate gemini_env
# Install Gemini CLI globally via npm (inside the environment)
npm install -g @google/gemini-cli
See Releases for more details.
New preview releases will be published each week at UTC 2359 on Tuesdays. These
releases will not have been fully vetted and may contain regressions or other
outstanding issues. Please help us test and install with preview tag.
npm install -g @google/gemini-cli@preview