Skip to content
Gemini CLI

shell-use for Gemini CLI

io.github.kyuheon-kr/shell-use

Let agents use the shell like a human.

client:Gemini CLI transport:stdio runtime:oci

Install shell-use in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "shell-use": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kyuheon-kr/shell-use:1.0.0"
      ],
      "env": {
        "SHELL_USE_SESSIONS": "<SHELL_USE_SESSIONS>",
        "SHELL_USE_SOCKET": "<SHELL_USE_SOCKET>"
      }
    }
  }
}

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

shell-use in other clients