Replies: 1 comment
-
|
Common causes for Gemini CLI not working on Windows Terminal: 1. npm global bin directory not in PATH (most common) npm config get prefixThis prints something like
Then restart Windows Terminal. 2. Windows Terminal display issues Add to your PowerShell profile ( $env:TERM = "xterm-256color"Or run before $env:TERM = "xterm-256color"; gemini3. Verify Node.js version Gemini CLI requires Node 18+: node --version4. Try running as: npx @google/gemini-cliIf 5. For hangs/freezes: Windows Defender or antivirus sometimes blocks Node processes on first run. Try adding Node.js to the exclusions list, or temporarily disable real-time protection to test. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
My PC terminal is not working properly when using Gemini CLI. (command not found, hangs/freezes, no output, error message)
Environment
npm install -g @google/gemini-cliBeta Was this translation helpful? Give feedback.
All reactions