The most powerful CLI wrapper for Google Gemini. Automate, create, and deploy AI-powered applications from your command line.
Beautiful terminal interface with dynamic frames, RGB gradients, and ANSI formatting
Seamlessly switch between Flash (fast), Pro (quality), and Thinking models
Easily attach images, PDFs, or code files using {path/to/file} syntax
Built-in Express server on localhost:8000 with CORS for browser extensions
Automatically save conversations with export to text files
Optimized caching, parallel processing, and smart request handling
Cross-platform installers with interactive setup for all major OS
Enhanced validation, helpful messages, and automatic reconnection
Get up and running in minutes
install.bat
Or use PowerShell:
.\install.ps1
chmod +x install.sh
./install.sh
chmod +x install.sh
./install.sh
npm install
npx playwright install chromium
node index.js
Simple yet powerful commands
node index.js
Start an interactive chat session with beautiful UI
node index.js "What is Node.js?"
Get a single answer and exit
node index.js "Analyze {image.png}"
Attach files to your prompts
node index.js -m pro "Question"
Use specific model (flash, pro, thinking)
You need Node.js 14+ and a Google account with access to Gemini. The installer will handle all setup.
The installer helps you get auth.json. You can export cookies from your browser or use Playwright codegen. Detailed instructions in SETUP.md.
Yes! The built-in API server on localhost:8000 allows you to automate Gemini interactions in your own applications.
Yes, it's open source and free to use. You only need a Google account for Gemini access (which has free tier).
Absolutely! Use the install.sh script. All features work on macOS, Linux, and Windows.
Yes! Use {path/to/file} in your prompt to attach images, PDFs, code files, and more.
Start exploring the power of AI directly from your terminal