an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js), Google Ads AW-18388216863. Loaded only when Do Not Track is
off, so it follows the same rule as the PostHog block on this site. -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
if (navigator.doNotTrack !== '1') {
var gtagScript = document.createElement('script');
gtagScript.async = true;
gtagScript.src = 'https://www.googletagmanager.com/gtag/js?id=AW-18388216863';
document.head.appendChild(gtagScript);
gtag('js', new Date());
gtag('config', 'AW-18388216863');
}
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>How to Install Gemini CLI, and Can It Use Gemini 4 Yet? — Munder Difflin Blog</title>
<meta name="description" content="Install Gemini CLI 0.62.0 with one npm command, see which sign ins still work after 18 Jun 2026, and why Gemini 4 Argon isn't in it yet." />
<link rel="canonical" href="https://munderdiffl.in/blog/how-to-install-gemini-cli/" />
<link rel="icon" type="image/png" href="https://munderdiffl.in/logo.png" />
<link rel="apple-touch-icon" href="https://munderdiffl.in/logo.png" />
<meta name="theme-color" content="#F5F2E8" />
<!-- Open Graph -->
<meta property="og:site_name" content="Munder Difflin Blog" />
<meta property="og:type" content="article" />
<meta property="og:title" content="How to Install Gemini CLI, and Can It Use Gemini 4 Yet? — Munder Difflin Blog" />
<meta property="og:description" content="Install Gemini CLI 0.62.0 with one npm command, see which sign ins still work after 18 Jun 2026, and why Gemini 4 Argon isn't in it yet." />
<meta property="og:url" content="https://munderdiffl.in/blog/how-to-install-gemini-cli/" />
<meta property="og:image" content="https://munderdiffl.in/blog/assets/media/how-to-install-gemini-cli/hero.png" />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="900" />
<meta property="og:image:alt" content="Illustration: How to Install Gemini CLI, and Who Can Still Use It in 2026" />
<meta property="og:locale" content="en_US" />
<meta property="article:published_time" content="2026-09-15T00:00:00.000Z" />
<meta property="article:author" content="Chaitanya Giri" />
<meta property="article:tag" content="Guides" />
<meta property="article:tag" content="Getting Started" />
<meta property="article:tag" content="CLI Agents" />
<meta property="article:tag" content="Engines" />
<meta property="article:tag" content="Open Source" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="How to Install Gemini CLI, and Can It Use Gemini 4 Yet? — Munder Difflin Blog" />
<meta name="twitter:description" content="Install Gemini CLI 0.62.0 with one npm command, see which sign ins still work after 18 Jun 2026, and why Gemini 4 Argon isn't in it yet." />
<meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/how-to-install-gemini-cli/hero.png" />
<meta name="twitter:image:alt" content="Illustration: How to Install Gemini CLI, and Who Can Still Use It in 2026" />
<link rel="alternate" type="application/atom+xml" title="Munder Difflin Blog" href="https://munderdiffl.in/blog/feed.xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700;9..144,900&family=Source+Serif+4:opsz,[email protected],400;8..60,600;8..60,700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="/blog/assets/blog-press.css" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "How to Install Gemini CLI, and Can It Use Gemini 4 Yet?",
"description": "Install Gemini CLI 0.62.0 with one npm command, see which sign ins still work after 18 Jun 2026, and why Gemini 4 Argon isn't in it yet.",
"image": ["https://munderdiffl.in/blog/assets/media/how-to-install-gemini-cli/hero.png"],
"datePublished": "2026-09-15T00:00:00.000Z",
"dateModified": "2026-10-02T00:00:00.000Z",
"author": { "@type": "Person", "name": "Chaitanya Giri" },
"publisher": {
"@type": "Organization",
"name": "Munder Difflin",
"logo": { "@type": "ImageObject", "url": "https://munderdiffl.in/logo.png" }
},
"mainEntityOfPage": { "@type": "WebPage", "@id": "https://munderdiffl.in/blog/how-to-install-gemini-cli/" },
"keywords": "how to install gemini cli, gemini cli install, how to install gemini cli on windows, gemini cli install npm, does gemini cli still work, gemini 4, gemini cli gemini 4",
"articleSection": "Guides",
"inLanguage": "en-US",
"url": "https://munderdiffl.in/blog/how-to-install-gemini-cli/"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://munderdiffl.in/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://munderdiffl.in/blog/" },
{ "@type": "ListItem", "position": 3, "name": "How to Install Gemini CLI, and Can It Use Gemini 4 Yet?", "item": "https://munderdiffl.in/blog/how-to-install-gemini-cli/" }
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{ "@type": "Question", "name": "Does Gemini CLI still work in 2026?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, for some accounts. Google's announcement of 19 May 2026 said Gemini CLI would stop serving free, Google AI Pro and Ultra users on 18 Jun 2026, while paid API keys and Gemini Code Assist Standard or Enterprise licences keep working. The project is still shipping: stable release 0.62.0 came out on 29 Sep 2026 and nightly builds land almost every day." } },
{ "@type": "Question", "name": "Can I use Gemini 4 Argon in Gemini CLI?", "acceptedAnswer": { "@type": "Answer", "text": "Not as of 2 Oct 2026. Google announced Gemini 4 Argon on 30 Sep 2026 but is rolling it out first to approved cyber defenders, with paid API customers and AI Ultra subscribers next and no date given. There is no public model ID yet, and Gemini CLI's source has no Gemini 4 entry. When an ID ships, a paid API key is the likeliest route, since Ultra sign ins no longer work in Gemini CLI." } },
{ "@type": "Question", "name": "Is Gemini CLI free?", "acceptedAnswer": { "@type": "Answer", "text": "The software is open source under Apache 2.0, but free use of Google's models through it largely ended on 18 Jun 2026. Google's quota page still lists an unpaid API key tier of 250 requests a day on Flash models, yet the transition announcement only promises paid keys. If your work depends on it, plan on a paid key or a work licence." } },
{ "@type": "Question", "name": "What Node version does Gemini CLI need?", "acceptedAnswer": { "@type": "Answer", "text": "Node 20 or newer. Google's installation page lists Node 20.0.0, and the npm package's engines field read >=20 when we checked on 2 Oct 2026. The Homebrew formula and the MacPorts port both pull in Node for you." } },
{ "@type": "Question", "name": "What is the difference between Gemini CLI and Antigravity CLI?", "acceptedAnswer": { "@type": "Answer", "text": "Gemini CLI is the open source agent you install from npm as @google/gemini-cli and start with gemini. Antigravity CLI is the newer Google tool, started with agy, that Google moved unpaid and Google One users to on 18 Jun 2026. Homebrew now points gemini-cli users at an antigravity-cli cask, but the two are separate products." } }
]
}
</script>
<script>
// Anonymous blog analytics (PostHog) — same posture as the main site and the
// app's TELEMETRY.md: public write-only token ('' = inert), anonymous-only
// (person_profiles 'never'), no autocapture/recording, DNT respected.
(function () {
var PH_KEY = 'phc_qJzsokwcbtTGHemnvywR3nSqivNNgMjHeNVEWkZNydFB';
if (!PH_KEY || navigator.doNotTrack === '1') return;
var s = document.createElement('script');
s.async = true;
s.src = 'https://us-assets.i.posthog.com/static/array.js';
s.onload = function () {
if (!window.posthog) return;
window.posthog.init(PH_KEY, {
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
before_send: function (event) {
// PostHog fills $ip from the connection unless the event carries one.
// Null it here and disable the GeoIP lookup so no IP, city, postal
// code or lat/long is ever derived or stored for this page view.
if (event && event.properties) {
event.properties.$ip = null;
event.properties.$geoip_disable = true;
}
return event;
},
disable_session_recording: true,
respect_dnt: true
});
};
document.head.appendChild(s);
})();
</script>
</head>
<body class="theme-press">
<a class="skip-link" href="#main">Skip to content</a>
<nav id="nav">
<a class="brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<span class="spacer"></span>
<div class="links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in">↗ Product</a>
</div>
<div class="nav-actions">
<a class="btn sm" href="https://munderdiffl.in/blog/feed.xml" aria-label="RSS feed">⤵ RSS</a>
<a class="btn sm primary" href="https://munderdiffl.in/#install">⤓ Download</a>
</div>
</nav>
<main id="main">
<article class="t-guides">
<header class="post-head wrap">
<nav class="crumbs" aria-label="Breadcrumb">
<a href="/blog/">Blog</a>
<span>/</span>
<a href="/blog/topics/guides/">Guides</a>
</nav>
<h1>How to Install Gemini CLI, and Can It Use Gemini 4 Yet?</h1>
<p class="dek">Install Gemini CLI 0.62.0 with one npm command, see which sign ins still work after 18 Jun 2026, and why Gemini 4 Argon isn't in it yet.</p>
<div class="byline">
<span class="av" aria-hidden="true">MD</span>
<strong>Chaitanya Giri</strong>
<span class="dot" aria-hidden="true">·</span>
<time datetime="2026-09-15">Sep 15, 2026</time>
<span class="dot" aria-hidden="true">·</span>
<span>5 min read</span>
<span class="tag kind">Guides</span>
</div>
</header>
<div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/how-to-install-gemini-cli/hero.png" alt="Illustration: How to Install Gemini CLI, and Who Can Still Use It in 2026" loading="lazy" decoding="async" /></figure></div>
<div class="post-wrap wrap">
<div class="prose">
<p>To install Gemini CLI, get Node 20 or newer, run <code>npm install -g @google/gemini-cli</code>, then type <code>gemini</code> in a project folder and sign in. Since 18 Jun 2026 Google no longer serves free, AI Pro or Ultra accounts in it, so you need a paid API key, Vertex AI or a work licence. Gemini 4 isn’t in it yet.</p>
<p>This is Google’s open source terminal agent, published on npm as <code>@google/gemini-cli</code> under Apache 2.0. It is not Antigravity CLI (<code>agy</code>), the tool Google moved individual users to, and it is not the Gemini app. The latest stable release is 0.62.0, published on 29 Sep 2026.</p>
<p>You can install it and keep it current by hand, or use <a href="https://harnessmd.com/download">Munder Difflin</a>, a free and open source desktop app that runs Gemini CLI agents next to Claude Code, Codex and other CLIs in one office. Gemini CLI is a built-in engine. Start a Gemini agent on a machine without <code>gemini</code> and the app runs <code>npm install -g @google/gemini-cli</code> in that agent’s terminal, tries to install Node first if npm is missing or its Node is older than 20, then relaunches the agent. The app’s hook bridge goes into a per agent settings file, so your own <code>~/.gemini/settings.json</code> is left alone. It can’t restore access Google has stopped serving, though. The <a href="/blog/how-to-install-and-use-munder-difflin/">Munder Difflin install guide</a> walks through setup.</p>
<h2 id="who-can-still-use-gemini-cli-after-june-2026" tabindex="-1">Who can still use Gemini CLI after June 2026? <a class="anchor" href="#who-can-still-use-gemini-cli-after-june-2026" aria-hidden="true">#</a></h2>
<p>Organisations on a Gemini Code Assist Standard or Enterprise licence can, and so can anyone paying for API access, including Vertex AI, which Google now calls <a href="https://cloud.google.com/products/gemini-enterprise-agent-platform">Gemini Enterprise Agent Platform</a>. <a href="https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/">Google’s announcement of 19 May 2026</a> said that on 18 Jun 2026 Gemini CLI would “stop serving requests for Google AI Pro and Ultra, as well as those using it free of charge”, and that it “will remain accessible via paid Gemini and Gemini Enterprise Agent Platform API keys”. The docs now carry a banner saying it “was replaced by Antigravity CLI on June 18th, 2026” for unpaid and Google One users.</p>
<p>The <a href="https://geminicli.com/docs/resources/quota-and-pricing/">quota page</a> and the README still advertise 1,000 free requests a day for a personal sign in. That is history. The page also lists an unpaid API key tier on Flash, but the announcement only names paid keys, so don’t build on it. Individuals on AI Pro or Ultra are pointed to Antigravity CLI, and <a href="/blog/claude-code-vs-antigravity/">Claude Code vs Antigravity</a> covers that tool.</p>
<h2 id="can-gemini-cli-use-gemini-4" tabindex="-1">Can Gemini CLI use Gemini 4? <a class="anchor" href="#can-gemini-cli-use-gemini-4" aria-hidden="true">#</a></h2>
<p>No, not as of 2 Oct 2026. Google <a href="https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/">announced Gemini 4 Argon</a> on 30 Sep 2026 and is rolling it out first to “a set of trusted cyber defenders” through its Fairwind Program, then to paid API customers and Google AI Ultra subscribers, with no date. There is no public model ID. The <a href="https://ai.google.dev/gemini-api/docs/models">Gemini API models page</a>, updated 1 Oct 2026, tops out at <code>gemini-3.8-flash</code>, and Gemini CLI’s main branch had no Gemini 4 entry on 2 Oct. Its <code>/model</code> dialog offers Auto and Manual.</p>
<p>When an ID ships, you pick it with <code>gemini --model <id></code>, the <code>GEMINI_MODEL</code> variable, <code>model.name</code> in <code>settings.json</code>, or Manual under <code>/model</code>. The likely path is a paid API key: Ultra is on Google’s list, but Ultra sign ins no longer work in Gemini CLI. Don’t guess the string: until a September fix (<a href="https://github.com/google-gemini/gemini-cli/issues/28859">issue #28859</a>), any <code>gemini-X.Y-flash</code> ID, real or made up, was quietly served by <code>gemini-3.5-flash</code>. Run <code>gemini -m <id> -p "say ok" --output-format json</code> and read <code>stats.models</code> to see which model actually replied.</p>
<p>Update, 13 Oct 2026: Gemini 4 Argon is now on general release with the model ID <code>gemini-4-argon</code>. Our <a href="/blog/gemini-4-argon/">Gemini 4 Argon page</a> has the price and the access rules. Gemini CLI’s model list file still had no Gemini 4 entry on 13 Oct 2026.</p>
<h2 id="how-do-i-install-gemini-cli-with-npm" tabindex="-1">How do I install Gemini CLI with npm? <a class="anchor" href="#how-do-i-install-gemini-cli-with-npm" aria-hidden="true">#</a></h2>
<p>Check Node is 20 or newer, then install globally:</p>
<pre class="language-bash"><code class="language-bash"><span class="token function">node</span> <span class="token parameter variable">--version</span>
<span class="token function">npm</span> <span class="token function">install</span> <span class="token parameter variable">-g</span> @google/gemini-cli
gemini <span class="token parameter variable">--version</span></code></pre>
<p>Node 20 is the floor on <a href="https://geminicli.com/docs/get-started/installation/">Google’s installation page</a> and in the package’s <code>engines</code> field. The June change didn’t stop releases. Here are GitHub and npm on 2 Oct 2026:</p>
<pre class="language-text"><code class="language-text">$ gh api 'repos/google-gemini/gemini-cli/releases?per_page=3' --jq '.[]|[.tag_name,.published_at]'
["v0.64.0-nightly.20261002.gc9096a847","2026-10-02T01:33:21Z"]
["v0.64.0-nightly.20261001.gc6bccb7ec","2026-10-01T01:34:16Z"]
["v0.64.0-nightly.20260930.g38700b4b3","2026-09-30T01:33:55Z"]
$ npm view @google/gemini-cli version engines.node
version = '0.62.0'
engines.node = '>=20'</code></pre>
<p>The same page lists MacPorts (<code>sudo port install gemini-cli</code>), a conda environment for locked down machines, and <code>npx @google/gemini-cli</code> to try it without installing. Stable releases land on the <code>latest</code> tag, <code>@preview</code> sits one minor ahead, and <code>@nightly</code> ships almost every day, for people who enjoy surprises.</p>
<figure class="fig fig-inline"><img src="/blog/assets/media/how-to-install-gemini-cli/note-1.png" alt="Hand-drawn sketch from “How to Install Gemini CLI, and Who Can Still Use It in 2026”" loading="lazy" decoding="async" /></figure>
<h2 id="why-is-brew-install-gemini-cli-stuck-on-an-old-version" tabindex="-1">Why is brew install gemini-cli stuck on an old version? <a class="anchor" href="#why-is-brew-install-gemini-cli-stuck-on-an-old-version" aria-hidden="true">#</a></h2>
<p>Homebrew deprecated its <code>gemini-cli</code> formula on 18 Jun 2026 as not supported upstream, and it is still at 0.46.0. Google’s installation page still lists <code>brew install gemini-cli</code>, but that page was last updated on 14 May 2026. Here is the Mac this post was written on, checked again on 2 Oct 2026:</p>
<pre class="language-text"><code class="language-text">$ which -a gemini
/opt/homebrew/bin/gemini
$ gemini --version
0.46.0
$ brew info gemini-cli
==> gemini-cli: stable 0.46.0 (bottled)
Interact with Google Gemini AI models from the command-line
https://geminicli.com
Deprecated because it is not supported upstream! It will be disabled on 2026-12-18.
Replacement:
brew install --cask antigravity-cli</code></pre>
<p>That leaves this machine sixteen minor versions behind npm. That replacement cask is a different product. To stay on Gemini CLI, run <code>brew uninstall gemini-cli</code> and use the npm command above.</p>
<h2 id="how-do-i-install-gemini-cli-on-windows" tabindex="-1">How do I install Gemini CLI on Windows? <a class="anchor" href="#how-do-i-install-gemini-cli-on-windows" aria-hidden="true">#</a></h2>
<p>Use npm in PowerShell. Google’s recommended specs name Windows 11 24H2 or newer, Node 20 and PowerShell; Windows 10 isn’t on that list. Install Node, open a fresh PowerShell window, and run the same <code>npm install -g @google/gemini-cli</code>.</p>
<p>For a session API key, the authentication doc gives <code>$env:GEMINI_API_KEY="YOUR_GEMINI_API_KEY"</code>. To keep it, put the variable in <code>%USERPROFILE%\.gemini\.env</code>.</p>
<h2 id="how-do-i-sign-in-to-gemini-cli" tabindex="-1">How do I sign in to Gemini CLI? <a class="anchor" href="#how-do-i-sign-in-to-gemini-cli" aria-hidden="true">#</a></h2>
<p>Run <code>gemini</code> in a project folder and choose Sign in with Google, Use Gemini API key, or Vertex AI. <a href="https://geminicli.com/docs/get-started/authentication/">Google’s authentication doc</a>, last updated 18 Sep 2026, says the Google option opens a browser and caches your credentials. Since June that route is for organisation accounts with a Code Assist Standard or Enterprise licence, which also need a Google Cloud project set.</p>
<figure class="fig fig-inline"><img src="/blog/assets/media/how-to-install-gemini-cli/note-2.png" alt="Hand-drawn sketch from “How to Install Gemini CLI, and Who Can Still Use It in 2026”" loading="lazy" decoding="async" /></figure>
<p>For a key from Google AI Studio, set it and start the CLI, then pick the API key option:</p>
<pre class="language-bash"><code class="language-bash"><span class="token builtin class-name">export</span> <span class="token assign-left variable">GEMINI_API_KEY</span><span class="token operator">=</span><span class="token string">"YOUR_GEMINI_API_KEY"</span>
gemini</code></pre>
<p>Vertex AI needs <code>GOOGLE_CLOUD_PROJECT</code> and <code>GOOGLE_CLOUD_LOCATION</code> set, plus one of <code>gcloud auth application-default login</code>, a service account JSON key, or a Google Cloud API key. Headless runs with <code>-p</code> reuse cached credentials or need those variables.</p>
<h2 id="how-do-i-update-or-uninstall-gemini-cli" tabindex="-1">How do I update or uninstall Gemini CLI? <a class="anchor" href="#how-do-i-update-or-uninstall-gemini-cli" aria-hidden="true">#</a></h2>
<p>Reinstall with the <code>latest</code> tag to update, and uninstall with npm:</p>
<pre class="language-bash"><code class="language-bash"><span class="token function">npm</span> <span class="token function">install</span> <span class="token parameter variable">-g</span> @google/gemini-cli@latest
<span class="token function">npm</span> uninstall <span class="token parameter variable">-g</span> @google/gemini-cli</code></pre>
<p>The <a href="https://geminicli.com/docs/reference/configuration/">configuration reference</a> lists <code>general.enableAutoUpdate</code>, on by default, but compare <code>gemini --version</code> with npm now and then anyway. If it still shows an old number after updating, <code>which -a gemini</code> lists every copy on your <code>PATH</code> in the order your shell tries them, which is how you spot a leftover Homebrew copy shadowing a fresh npm one.</p>
<p>Running Codex too? <a href="/blog/how-to-install-codex-cli/">How to install Codex CLI</a> covers OpenAI’s agent and its sign in quirks. Comparing tools? See <a href="/blog/gemini-cli-vs-claude-code/">Gemini CLI vs Claude Code</a>.</p>
<section class="faq" aria-label="Frequently asked questions">
<h2 id="faq">FAQ</h2>
<div class="qa">
<p class="q">Does Gemini CLI still work in 2026?</p>
<p class="a">Yes, for some accounts. Google's announcement of 19 May 2026 said Gemini CLI would stop serving free, Google AI Pro and Ultra users on 18 Jun 2026, while paid API keys and Gemini Code Assist Standard or Enterprise licences keep working. The project is still shipping: stable release 0.62.0 came out on 29 Sep 2026 and nightly builds land almost every day.</p>
</div>
<div class="qa">
<p class="q">Can I use Gemini 4 Argon in Gemini CLI?</p>
<p class="a">Not as of 2 Oct 2026. Google announced Gemini 4 Argon on 30 Sep 2026 but is rolling it out first to approved cyber defenders, with paid API customers and AI Ultra subscribers next and no date given. There is no public model ID yet, and Gemini CLI's source has no Gemini 4 entry. When an ID ships, a paid API key is the likeliest route, since Ultra sign ins no longer work in Gemini CLI.</p>
</div>
<div class="qa">
<p class="q">Is Gemini CLI free?</p>
<p class="a">The software is open source under Apache 2.0, but free use of Google's models through it largely ended on 18 Jun 2026. Google's quota page still lists an unpaid API key tier of 250 requests a day on Flash models, yet the transition announcement only promises paid keys. If your work depends on it, plan on a paid key or a work licence.</p>
</div>
<div class="qa">
<p class="q">What Node version does Gemini CLI need?</p>
<p class="a">Node 20 or newer. Google's installation page lists Node 20.0.0, and the npm package's engines field read >=20 when we checked on 2 Oct 2026. The Homebrew formula and the MacPorts port both pull in Node for you.</p>
</div>
<div class="qa">
<p class="q">What is the difference between Gemini CLI and Antigravity CLI?</p>
<p class="a">Gemini CLI is the open source agent you install from npm as @google/gemini-cli and start with gemini. Antigravity CLI is the newer Google tool, started with agy, that Google moved unpaid and Google One users to on 18 Jun 2026. Homebrew now points gemini-cli users at an antigravity-cli cask, but the two are separate products.</p>
</div>
</section>
<hr />
<div class="share">
<span class="lbl">Tags</span>
<a class="tag" href="/blog/tags/guides/">Guides</a><a class="tag" href="/blog/tags/getting-started/">Getting Started</a><a class="tag" href="/blog/tags/cli-agents/">CLI Agents</a><a class="tag" href="/blog/tags/engines/">Engines</a><a class="tag" href="/blog/tags/open-source/">Open Source</a>
</div>
</div>
<aside class="toc-rail" aria-label="Table of contents">
<div class="tt">On this page</div>
<ol>
<li class="lvl-2"><a href="#who-can-still-use-gemini-cli-after-june-2026">Who can still use Gemini CLI after June 2026?</a></li><li class="lvl-2"><a href="#can-gemini-cli-use-gemini-4">Can Gemini CLI use Gemini 4?</a></li><li class="lvl-2"><a href="#how-do-i-install-gemini-cli-with-npm">How do I install Gemini CLI with npm?</a></li><li class="lvl-2"><a href="#why-is-brew-install-gemini-cli-stuck-on-an-old-version">Why is brew install gemini-cli stuck on an old version?</a></li><li class="lvl-2"><a href="#how-do-i-install-gemini-cli-on-windows">How do I install Gemini CLI on Windows?</a></li><li class="lvl-2"><a href="#how-do-i-sign-in-to-gemini-cli">How do I sign in to Gemini CLI?</a></li><li class="lvl-2"><a href="#how-do-i-update-or-uninstall-gemini-cli">How do I update or uninstall Gemini CLI?</a></li>
</ol>
</aside>
</div>
<footer class="post-foot wrap"><div class="prevnext">
<a class="pn prev" href="/blog/is-ollama-good-for-coding/"><span class="k">← Older</span><span class="t">Is Ollama Good for Coding? Yes, for Scoped Work on the Right Model</span></a>
<a class="pn next" href="/blog/build-your-personal-agi-on-your-computer/"><span class="k">Newer →</span><span class="t">Build Your Personal AGI on Your Computer Using Claude Code and Munder Difflin</span></a>
</div>
<section class="related">
<h2>Related in Guides</h2>
<div class="post-grid">
<article class="card t-guides">
<a class="thumb t-guides" href="/blog/claude-md-best-practices/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/claude-md-best-practices/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-26">Oct 26, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>4 min</span>
</div>
<h3><a href="/blog/claude-md-best-practices/">CLAUDE.md Best Practices: What to Write, Where It Lives, How Long (Oct 2026)</a></h3>
<p class="dek">CLAUDE.md best practices from Anthropic's docs, checked 26 Oct 2026: what to put in it, where each file lives, the 200 line target and how AGENTS.md loads.</p>
<div class="foot">
<span class="tag kind">Guides</span>
<a class="more" href="/blog/claude-md-best-practices/" aria-label="Read: CLAUDE.md Best Practices: What to Write, Where It Lives, How Long (Oct 2026)">Read →</a>
</div>
</div>
</article>
<article class="card t-guides">
<a class="thumb t-guides" href="/blog/codex-computer-use/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/codex-computer-use/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-26">Oct 26, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>4 min</span>
</div>
<h3><a href="/blog/codex-computer-use/">Codex Computer Use: How to Turn It On, Plans and Limits (Oct 2026)</a></h3>
<p class="dek">Codex computer use lets the ChatGPT desktop app see and click apps on macOS and Windows. Setup, which plans get it, locked use and how Claude's compares.</p>
<div class="foot">
<span class="tag kind">Guides</span>
<a class="more" href="/blog/codex-computer-use/" aria-label="Read: Codex Computer Use: How to Turn It On, Plans and Limits (Oct 2026)">Read →</a>
</div>
</div>
</article>
<article class="card t-guides">
<a class="thumb t-guides" href="/blog/cursor-pricing/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/cursor-pricing/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-26">Oct 26, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>5 min</span>
</div>
<h3><a href="/blog/cursor-pricing/">Cursor Pricing (Oct 2026): Every Plan After the 12 Oct Change</a></h3>
<p class="dek">Cursor pricing as of 26 Oct 2026: Free, Plus $8, Premium $30, Super $100, Ultra $200, Teams seats, what changed on 12 Oct and what old plans keep.</p>
<div class="foot">
<span class="tag kind">Guides</span>
<a class="more" href="/blog/cursor-pricing/" aria-label="Read: Cursor Pricing (Oct 2026): Every Plan After the 12 Oct Change">Read →</a>
</div>
</div>
</article>
</div>
</section>
</footer>
</article>
</main>
<footer class="site-foot">
<div class="wrap">
<div class="foot-top">
<a class="foot-brand brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<div class="foot-links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in/blog/feed.xml">RSS</a>
<a href="https://github.com/chaitanyagiri/munder-difflin">GitHub</a>
<a href="https://munderdiffl.in">munderdiffl.in ↗</a>
</div>
</div>
<div class="foot-meta">
© 2026 Munder Difflin · Local-first · MIT-licensed ·
Built on <a href="https://munderdiffl.in">Electron, React, Pixi.js, xterm.js & node-pty</a>.
Run an office of agents while you sleep.
</div>
</div>
</footer>
<script>
// sticky-nav border on scroll
(function () {
var nav = document.getElementById('nav');
if (!nav) return;
var onScroll = function () { nav.classList.toggle('scrolled', window.scrollY > 8); };
onScroll(); window.addEventListener('scroll', onScroll, { passive: true });
})();
// YouTube click-to-load: thumbnail button → youtube-nocookie iframe
(function () {
document.addEventListener('click', function (e) {
var btn = e.target.closest('.yt-load');
if (!btn) return;
var box = btn.closest('.yt');
var id = box && box.getAttribute('data-yt');
// Only an 11 character YouTube video id may reach the iframe URL.
if (!id || !/^[A-Za-z0-9_-]{11}$/.test(id)) return;
var frame = document.createElement('iframe');
frame.src = 'https://www.youtube-nocookie.com/embed/' + encodeURIComponent(id) + '?autoplay=1';
frame.title = box.getAttribute('data-title') || 'YouTube video';
frame.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share';
frame.setAttribute('allowfullscreen', '');
box.replaceChildren(frame);
});
})();
</script>
</body>
</html>