@syedabdullahzaidi786/gemini-cli
v1.0.3
Published
Gemini CLI by AR Developers — AI-powered command-line tool powered by Google Gemini.
Maintainers
Readme
🚀 Gemini CLI — By AR Developers
Gemini CLI is a lightweight AI command-line tool powered by Google’s Gemini API — enhanced and distributed by AR Developers for developers, creators, and data engineers.
🧠 Overview
Gemini CLI lets you interact directly with Gemini models right from your terminal. Whether you’re generating code, analyzing data, or running AI-assisted commands — Gemini CLI gives you a fast, flexible, and developer-friendly experience.
💡 Designed & maintained by Syed Abdullah Zaidi — CEO & Founder of AR Developers
⚙️ Features at a Glance
- ⚡ Instant AI Chat: Run natural conversations directly in your terminal.
- 💻 Code Assistant: Debug, refactor, or generate files using natural prompts.
- 🔗 Built-in Tools: Web fetching, file handling, and shell integration.
- 🔐 Multiple Auth Options: API key, Google login, or Vertex AI integration.
- 🧩 Extensible: Add your own tools via MCP (Model Context Protocol).
- 🌍 Cross-platform: Works on Windows, macOS, and Linux.
📦 Installation
1️⃣ Quick Install (Recommended)
npm install -g @google/gemini-cliOnce installed:
gemini --version2️⃣ Run Instantly (no installation)
gemini3️⃣ From Source
git clone https://github.com/syedabdullahzaidi786/Gemini-CLI-Setup
cd gemini-cli
npm install
npm link🔐 Authentication
Choose your preferred authentication mode:
🔸 Option 1: Google Login
gemini login- Best for individuals and devs using personal Google accounts.
- Automatically manages tokens and free-tier quotas.
🔸 Option 2: Gemini API Key
export GEMINI_API_KEY="your_api_key_here"
geminiGet your key from AI Studio.
🔸 Option 3: Vertex AI
For enterprise setups:
export GOOGLE_API_KEY="your_vertex_key"
export GOOGLE_GENAI_USE_VERTEXAI=true
gemini💡 Usage Examples
Start a new interactive chat:
gemini chatRun a quick prompt:
gemini -p "Summarize the architecture of this project"Generate structured output:
gemini -p "List all dependencies in package.json" --output-format json🧩 Integrations
Gemini CLI can connect with:
- AR-GPT (custom chat model built by AR Developers)
- Google Search grounding
- GitHub automation (pull request reviews, issue summaries)
- Local file system tools
🛠️ Developer Setup
For contributors:
git clone https://github.com/AR-Developers/gemini-cli.git
cd gemini-cli
npm install
npm run dev🤝 Contributing
We love community contributions! Open issues, suggest features, or submit PRs to help improve Gemini CLI.
📘 Read our Contributing Guide
📄 License
This project is licensed under the MIT License. See LICENSE for full details.
