Gemini CLI
Master Google's open-source AI coding agent in the terminal. Learn to install, configure, and use Gemini CLI to read codebases, edit files, run commands, and supercharge your development workflow - all from the command line.
What You'll Learn
By the end of this course, you'll be a confident Gemini CLI user - able to leverage Google's AI agent directly in your terminal for real development work.
Terminal-Native AI
Understand how Gemini CLI brings agentic AI coding capabilities directly into your terminal with no browser needed.
Edit Code with AI
Learn to use Gemini CLI to edit files, refactor code, generate new features, and navigate large codebases.
Real Workflows
Master practical workflows: bug fixing, feature development, code review, test writing, and documentation generation.
Configuration
Customize Gemini CLI with settings files, custom instructions, extensions, environment variables, and MCP servers.
Course Lessons
Follow the lessons in order or jump to any topic you need.
1. Introduction
What is Gemini CLI? Learn about Google's open-source agentic coding tool, its key features, and how it compares to Claude Code.
2. Installation
Step-by-step guide to installing Gemini CLI via npm. Prerequisites, authentication with Google, and troubleshooting.
3. Basic Commands
Learn essential commands: starting Gemini CLI, asking questions, file editing, shell commands, tool use, and sandbox mode.
4. Workflows
Practical workflows for bug fixing, feature development, code review, test writing, refactoring, and documentation.
5. Configuration
Customize Gemini CLI: settings files, model selection, custom instructions, extensions, and MCP server support.
6. Tips & Tricks
Power-user techniques: effective prompting, working with large repos, cost optimization, keyboard shortcuts, and FAQ.
Prerequisites
What you need before starting this course.
- Basic familiarity with a terminal/command line
- Node.js 18 or later installed on your system
- A Google account for authentication
- A code project to practice with (any language works)
Related AI School Courses
Other tools in Google's AI developer ecosystem.
Gemini Code Assist
Gemini inside your IDE. Inline completions, chat-driven development, test generation, and Enterprise governance.
Gemini
Google's flagship AI model. Multimodal capabilities, model tiers, API integration, and Google Workspace use.
Google AI Studio
Browser-based prompt engineering and prototyping. System instructions, multimodal inputs, and API key generation.
Go Deeper With Expert Courses
Recommended learning resources from our partners. Affiliate disclosure.
DataCamp - AI & Data Science
Hands-on Python, machine learning, and AI courses with interactive exercises and real projects. Track-based learning for practitioners.
DataCampedX - Top AI Courses
Courses and MicroMasters from MIT, Harvard, Stanford, and other top universities. Earn certificates that employers recognize.
edX