gemini-cli - 💡(How to fix) Fix bug: gemini-cli does not start in the Visual Studio Code terminal.

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

> /about
CLI Version: 0.41.2
Git Commit: b0c7a1722
Model: auto (Gemini 2.5)
Sandbox: no sandbox
OS: linux
Auth Method: signed in with Google
Tier: Gemini Code Assist
RAW_BUFFERClick to expand / collapse

What happened?

The gemini-cli does not start when you run the "gemini" command in the vscode (Visual Studio Code) terminal.

When I run certain options like --version, the command works normally.

What did you expect to happen?

Open the tool in the VS Code terminal.

Client information

<details> <summary>Client Information</summary>

Run gemini to enter the interactive CLI, then run the /about command.

> /about
CLI Version: 0.41.2
Git Commit: b0c7a1722
Model: auto (Gemini 2.5)
Sandbox: no sandbox
OS: linux
Auth Method: signed in with Google
Tier: Gemini Code Assist
</details>

Login information

Auth Method: signed in with Google Tier: Gemini Code Assist

Anything else we need to know?

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

gemini-cli - 💡(How to fix) Fix bug: gemini-cli does not start in the Visual Studio Code terminal.