# Gemini CLI Gemini CLI is an agentic coding CLI tool created by Google. It's very similar to [[Claude Code]] and [[OpenAI Codex]] ![[Gemini CLI Image.png]] ## Tips & Tricks - Type `!` in Gemini CLI to toggle shell mode ## License Gemini CLI itself is open source (Apache License), but its usage implies acceptance of terms and conditions. When people use their personal Google account, the "Gemini Code Assist Privacy Notice for Individuals" applies. Under that notice, prompts, answers and related code are collected and may be used to train Google's models. When people use a Gemini API key, Gemini API terms of service apply, which also means that prompts, answers and code are collected and may be used for training AI models. The only case where prompts, answers and code are not used for training is when users pay for Gemini either via Google Cloud or the Gemini API. In that case inputs are considered confidential. But apparently, NOT the outputs! ## References - Documentation: https://cloud.google.com/gemini/docs/codeassist/gemini-cli - Source code: https://github.com/google-gemini/gemini-cli - X account: https://x.com/geminicli - Created by Tailor Mullen: https://x.com/ntaylormullen - Analysis by [[Simon Willison]]: https://simonwillison.net/2025/Jun/25/gemini-cli - System prompt: https://gist.github.com/simonw/9e5f13665b3112cea00035df7da696c6