Using the Gemini CLI

Using the Gemini CLI

Nov 27, 2025 · 1 min read · 109 Words · -Views -Comments

Installation

You can install the Gemini CLI using Homebrew:

brew install gemini-cli

Alternatively, you can use npm:

npm install -g @google/gemini-cli

Upgrading

To update to the latest version via Homebrew:

brew upgrade gemini-cli

Login

Once you enter a Gemini session, use the /login command to authenticate. Since Gemini currently offers a free tier (e.g., G3), you can simply use your Google account to log in.

Installing the Figma MCP Extension

You can extend Gemini’s capabilities by installing the official Figma MCP (Model Context Protocol) server:

gemini extensions install https://github.com/figma/figma-gemini-cli-extension

To uninstall the extension:

gemini extensions uninstall figma

Resources

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover