豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

"Configuration file not found" error when installing extension #11452

@medal-io

Description

@medal-io

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea/coreIssues related to User Interface, OS Support, Core Functionalitykind/bugpriority/p1Important and should be addressed in the near term.status/bot-triagedstatus/need-triageIssues that need to be triaged by the triage automation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions