Loading video player…

Getting Started With Google Gemini CLI (Overview)

This video course will teach you how to use Gemini CLI to bring Google’s AI-powered coding assistance directly into your terminal. After you authenticate with your Google account, this tool will be ready to help you analyze code, identify bugs, and suggest fixes—all without leaving your familiar development environment:

Imagine debugging code without switching between your console and browser, or picture getting instant explanations for unfamiliar projects. Like other command-line AI assistants, Google’s Gemini CLI brings AI-powered coding assistance directly into your command line, allowing you to stay focused in your development workflow.

Whether you’re troubleshooting a stubborn bug, understanding legacy code, or generating documentation, this tool acts as an intelligent pair-programming partner that understands your codebase’s context.

You’re about to install Gemini CLI, authenticate with Google’s free tier, and put it to work on an actual Python project. You’ll discover how natural language queries can help you understand code faster and catch bugs that might slip past manual review.

Resource mentioned in this lesson: geminicli.com

Download

Course Slides (.pdf)

1.3 MB
Download

Sample Code (.zip)

16.3 KB

00:00 Welcome to another Real Python Code Conversation. My name is Philipp, and today we’ll explore Google’s Gemini CLI. Gemini CLI is Google’s AI-powered coding assistant for the terminal.

00:12 And in this video course, we’ll explore Gemini CLI together so you can decide if and how you want to introduce the tool into your own coding workflow.

00:23 In particular, you’ll learn how to install and set up Gemini CLI. We’ll explore a codebase together and generate some documentation for it, and you will uncover and fix a bug with the help of Gemini.

00:38 Before you continue watching, here are a few things to consider. You can use Gemini CLI for free with some of the models it provides. However, you must have a Google account to use it.

00:50 And in one of the first lessons of this video course, you will see that you need to authenticate with your account in order to use Gemini CLI in your terminal.

01:00 Also, to make this video course more realistic, we’ll work with a real project that you can download in the supporting materials of this video course. You’ll find a little button for supporting materials right below this video.

01:13 Make sure to download the materials and save them in a folder, which will be your project folder for this video course, and keep it at hand for the next lessons.

01:23 Since AI is such a fast-moving field, make sure to also consult the Gemini documentation if there is something where you’re unsure about. You can find the Gemini documentation on gemini-cli.com.

01:37 So if something changed between recording this video course and you watching this video course, the documentation on gemini-cli.com will be your source of truth.

01:47 Still, I hope that you find value in this video course, and before we get started, one last thing: I might refer to Gemini CLI only as Gemini. To be very precise, Gemini is the underlying model for Gemini CLI.

02:01 And the correct term for the coding assistant is Gemini CLI. But as I mentioned, you will notice that sometimes I just say Gemini because it’s faster. Alright, and with all of this set, let’s hop into the first lesson, where you’ll install Gemini CLI on your computer.

Become a Member to join the conversation.