How to Update Gemini CLI to the Latest Version
dev.to·15h·
Discuss: DEV
Flag this post

The Gemini CLI is an open-source command-line tool that brings the power of Gemini (by Google) to your terminal. Keeping it up to date means you’ll get the latest features, fixes, and better performance. In this simple tutorial, I’m going to show how to update your Gemini CLI to the latest version.

How to Update Gemini CLI

Follow these simple steps depending on how you installed it.

1. Check your Gemini CLI current version

Open your terminal and type:

gemini --version

2. Update if you installed via npm (globally)

If you installed the CLI globally using npm, run:

npm install -g @google/gemini-cli@latest

Or you can use:

npm update -g @google/gemini-cli

3. If you use npx (no global install)

If you run the CLI directly via n…

Similar Posts

Loading similar posts...