Skip to content
Gemini CLI

npm why (who installs this package) for Gemini CLI

io.github.lawatch/npm-why

Why a package is in node_modules, which versions, who pulls it in: npm explain from package-lock.

client:Gemini CLI transport:stdio runtime:oci

Install npm why (who installs this package) in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "npm-why": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

npm why (who installs this package) in other clients