Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Gemini CLI CompanionNew to Visual Studio Code? Get it now.
Gemini CLI Companion

Gemini CLI Companion

Preview

Google

google.com
|
26,024 installs
| (3) | Free
Enable Gemini CLI with direct access to your IDE workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Gemini CLI Companion

The Gemini CLI Companion extension pairs with Gemini CLI. This extension is compatible with both VS Code and VS Code forks.

Features

  • Open Editor File Context: Gemini CLI gains awareness of the files you have open in your editor, providing it with a richer understanding of your project's structure and content.

  • Selection Context: Gemini CLI can easily access your cursor's position and selected text within the editor, giving it valuable context directly from your current work.

  • Native Diffing: Seamlessly view, modify, and accept code changes suggested by Gemini CLI directly within the editor.

  • Launch Gemini CLI: Quickly start a new Gemini CLI session from the Command Palette (Cmd+Shift+P or Ctrl+Shift+P) by running the "Gemini CLI: Run" command.

Requirements

To use this extension, you'll need:

  • VS Code version 1.99.0 or newer
  • Gemini CLI (installed separately) running within the integrated terminal

Terms of Service and Privacy Notice

By installing this extension, you agree to the Terms of Service.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft