gemini-cli
by google-gemini
Gemini CLI is an open-source AI agent that runs in the terminal and lets you give Google's Gemini models instructions in plain language. It is used to read, write and debug code, and to automate tasks from scripts.
- Stars
- 108.5k
- Licence
- Apache-2.0
- Runs on
- Your computer
- Setup
- Easy
- Language
- TypeScript
- Age
- 557 days
What you can do with it
- Ask questions about a codebase and have it edit or debug code using plain language
- Generate a new app, such as a Discord bot, from a written prompt or from images and PDFs
- Run it in scripts to automate tasks such as summarising pull requests, with JSON output
Make money with it
A freelancer could use it to build and maintain small custom scripts, bots or websites for clients faster, and so take on more fixed-price jobs.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Speed up building and fixing small internal tools, websites or scripts without hiring extra developer time
- Automate repetitive technical chores such as code reviews, change summaries and report scripts
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Install with npm, Homebrew, MacPorts or Anaconda, or run it without installing using npx, then sign in with Google or a Gemini API key.
Follow the official instructions in the project README.
Things to check
- The README says Gemini CLI was replaced by Antigravity CLI on 18 June 2026, so it may receive less attention going forward
- Not optimised for the latest Gemini models
- Needs a Google sign-in or API key, and heavier use may need a paid tier
- Preview and nightly releases may contain regressions
Checked 26 Oct 2026. Summary drafted by AI from the project's README.