Wingetlywingetly
← All apps
G

Gemini API CLI

by Googlev0.5.0

Last updated

Call Gemini models and managed agents from any shell with a stateless command-line client.

Install with winget

$ winget install --id Google.GeminiAPICLI --exact --version 0.5.0

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

From $49/month. No credit card required.

Not on Intune? Pckgr RMM deploys and patches apps like this one on any Windows fleet. Free for up to 5 devices.

About

Gemini models and managed agents for the agent you already use. Configure an API key, put gemini-api on PATH, and let your agent choose a model, generate an asset, analyze a file, or launch a managed agent to handle a task.

- One binary for models, media, and managed agents: access text and reasoning models, multimodal file analysis, image, audio, music, and video generation, and managed agents from the command line.

- Delegate long-running work: start a Gemini managed agent in the background, keep the returned interaction ID, and retrieve the result when needed.

- Self-describing interface: commands, flags, request schemas, and machine-readable usage are built into the binary so an agent can inspect what it needs on the fly.

- Safe dry-run validation: --dry-run validates inputs and prints the resolved HTTP request with credentials redacted.

- Script- and agent-friendly output: stream text, write media directly to disk, emit structured JSON or compact TOON, or filter fields inline with --jq.

Installers · v0.5.0

ArchitectureTypeScopeInstallDownload
x64ZIP
archive
-Direct
arm64ZIP
archive
-Direct

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

No known CVEs for Gemini API CLI.

Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.

Related apps

  • Antigravity IDEGoogle
    Google.AntigravityIDEv2.8.0

    Experience liftoffwith the next-generation IDE

  • A
    Antigravity CLIGoogle
    Google.AntigravityCLIv1.5.14

    Work with Antigravity directly in your codebase. Build, debug, and ship from your terminal. Describe what you need, and Antigravity handles the rest.

  • Dart SDKGoogle
    Google.DartSDKv3.14.1

    A set of tools and libraries for the Dart programming language.

  • Google Earth ProGoogle
    Google.EarthProv7.3.7.1327

    The world's most detailed globe

  • AntigravityGoogle
    Google.Antigravityv2.34.0

    Experience liftoff with the next-gen agent platform.

  • Google DesktopGoogle
    Google.GoogleDesktopv5.9.1005.12335

    Google Desktop is a widget engine made by Google.

More from Google or browse agent, ai, api.

Frequently asked questions

How do I install Gemini API CLI on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Google.GeminiAPICLI --exact --version 0.5.0. winget downloads the installer from Google and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install Gemini API CLI silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Google.GeminiAPICLI --exact 0.5.0 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
How do I uninstall Gemini API CLI via winget?
Run: winget uninstall --id Google.GeminiAPICLI --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from Gemini API CLI's Apps & Features entry.
Is Gemini API CLI free?
Gemini API CLI is distributed under Apache-2.0. Refer to the publisher (https://github.com/google-gemini/gemini-api-cli) for the full license terms - Wingetly itself does not charge for installation.
Does Gemini API CLI work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls Gemini API CLI directly from the publisher.
How do I keep Gemini API CLI up to date?
Run winget upgrade --id Google.GeminiAPICLI --exact, or winget upgrade --all to update everything winget tracks. We index 2 versions of Gemini API CLI from microsoft/winget-pkgs.

Recent versions

  • 0.5.0latest
  • 0.4.6