What happened?
Gemini CLI Extension Installation Bug Report
Summary
The official Gemini CLI extension installation command gemini extensions install <github-url> consistently fails with the error:
Configuration file not found at /tmp/gemini-extensionXXXXXX/gemini-extension.json
This occurs even when the gemini-extension.json file exists at the root of the repository.
What did you expect to happen?
Steps to Reproduce
Test Case 1: Context7 Extension
gemini extensions install https://github.com/upstash/context7
Expected Result:
Extension should install successfully
Actual Result:
Configuration file not found at /tmp/gemini-extensionWxk0Af/gemini-extension.json
Test Case 2: GitHub MCP Server
gemini extensions install https://github.com/github/github-mcp-server
Expected Result:
Extension should install successfully
Actual Result:
Configuration file not found at /tmp/gemini-extensionLaky9x/gemini-extension.json
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
About Gemini CLI │
│ │
│ CLI Version 0.9.0 │
│ Git Commit a93d92a3 │
│ Model gemini-2.5-pro │
│ Sandbox no sandbox │
│ OS linux │
│ Auth Method OAuth
Login information
No response
Anything else we need to know?
Misleading AI Response
When querying Google's Gemini AI about this issue, it incorrectly attributed the problem to branch naming (master vs main), which testing proved to be false. This may indicate:
- The AI model is not aware of this bug
- Similar issues may have been reported but misdiagnosed
What happened?
Gemini CLI Extension Installation Bug Report
Summary
The official Gemini CLI extension installation command
gemini extensions install <github-url>consistently fails with the error:This occurs even when the
gemini-extension.jsonfile exists at the root of the repository.What did you expect to happen?
Steps to Reproduce
Test Case 1: Context7 Extension
Expected Result:
Extension should install successfully
Actual Result:
Test Case 2: GitHub MCP Server
Expected Result:
Extension should install successfully
Actual Result:
Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.Login information
No response
Anything else we need to know?
Misleading AI Response
When querying Google's Gemini AI about this issue, it incorrectly attributed the problem to branch naming (
mastervsmain), which testing proved to be false. This may indicate: