#Gemini Cli Oauth failed
1 messages · Page 1 of 1 (latest)
i have an issue where it doesn't even detect gemini cli for some reason and just exits directly
For Gemini CLI OAuth, OpenClaw literally looks for a gemini executable on PATH. If it can’t findInPath("gemini"), the auth command will just fail/exit.
A quick checklist to narrow it down:
- What version are you on?
Run and paste:
openclaw --version
- Is the Gemini CLI actually installed + on PATH in the same shell?
Run and paste:
command -v gemini
gemini --version
- If
command -v geminiprints nothing → install it (one of these):
brew install gemini-cli
# or
npm install -g @google/gemini-cli
(If you used npx gemini ..., that typically won’t put a persistent gemini binary on PATH.)
- Is the plugin enabled?
openclaw plugins list
You should see google-gemini-cli-auth enabled (if not: openclaw plugins enable google-gemini-cli-auth, then restart gateway).
- Re-run the login with verbosity and paste the exact output
openclaw models auth login --provider google-gemini-cli --set-default --verbose