Your AI Partner in the Terminal
Stop context-switching. Start creating. Gemini CLI brings Google's most capable models directly to your command line for unparalleled development speed.
Core Features
Why You'll Love Gemini CLI
A seamless extension of your mind, integrated where you work best.
Instant Code Generation
Generate boilerplate, functions, tests, and more from a simple prompt. Supports dozens of languages.
Intelligent Refactoring
Optimize, document, or translate code with context-aware intelligence. Improve your codebase effortlessly.
Shell Command Wizardry
Describe the task, and let Gemini generate the correct shell command. No more `man` pages for `awk` or `sed`.
Safety & Privacy First
Your code is your own. Gemini CLI is built with Google's safety principles and never trains on your private code.
Simple Workflow
Get Productive in Seconds
Prompt
Invoke `gemini` with a clear, natural language instruction for your task.
Generate
Watch as Gemini processes your request and streams the output directly to your terminal.
Integrate
Pipe the output to a file, copy it to your clipboard, or execute it directly. Your workflow, your rules.
Quick Start
Installation on Ubuntu VPS
Follow these steps to get Gemini CLI up and running on your Ubuntu server.
Step 1: Update Your System
Ensure your package list is up to date and install essential packages.
$ sudo apt update && sudo apt upgrade -yStep 2: Install Node.js via NVM
We recommend using Node Version Manager (nvm) to install Node.js. This avoids potential permission issues and makes version management easy.
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash# Reload your shell for the changes to take effect$ source ~/.bashrc$ nvm install --ltsThis installs the latest Long-Term Support version of Node.js (v18+ required).
Step 3: Install Gemini CLI
With Node.js and npm ready, install the Gemini CLI package globally.
$ npm install -g gemini-cliStep 4: Authenticate
Finally, configure the CLI with your Gemini API key to authenticate your requests.
$ gemini auth <YOUR_API_KEY>Ready to Supercharge Your Workflow?
Download Gemini CLI for your platform and experience the future of software development today. It's free to get started.