> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini CLI Integration

> Give the Google Gemini CLI persistent, cross-session memory with Memanto.

# Gemini CLI + Memanto

<img src="https://unpkg.com/@lobehub/icons-static-svg@latest/icons/geminicli-color.svg" alt="Gemini CLI" width="64" style={{marginBottom: "1.5rem"}} />

Connect the [Google Gemini CLI](https://github.com/google-gemini/gemini-cli) to Memanto so it can store and recall persistent memory across sessions.

## Connect via CLI (recommended)

```bash theme={null}
memanto connect gemini-cli
```

This installs a Gemini-specific instruction file and the `memanto-memory` skill into your project. Add `--global` to install system-wide:

```bash theme={null}
memanto connect gemini-cli --global
```

## Connect via MCP

Gemini CLI supports MCP, so you can alternatively register Memanto as an MCP server. See the [MCP integration guide](/integrations/mcp) for the `memanto-mcp` server reference and config.

## Next Steps

* [CLI: connect command](/cli/connect/connect)
* [MCP Integration](/integrations/mcp)
* [Memory Types Reference](/reference/memory-types)
