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

# Gemini CLI

> Connect Membase to Gemini CLI with a single command. Give Gemini persistent memory across sessions for smarter, context-aware responses.

<Steps>
  <Step title="Run this command in your terminal">
    ```bash theme={null}
    npx -y membase@latest --client gemini-cli
    ```

    A browser window opens automatically for authentication.
  </Step>

  <Step title="Authenticate and start using Membase in Gemini CLI">
    After logging in, Membase is ready to use.
  </Step>
</Steps>

## Next Steps

<CardGroup cols={2}>
  <Card title="Bring Your Context" icon="download" href="/getting-started/bring-context">
    Import chat history, connect apps, and more.
  </Card>

  <Card title="Use Your Context" icon="comment-dots" href="/getting-started/use-context">
    Chat with Memory, agent retrieval, and dashboard exploration.
  </Card>

  <Card title="Knowledge Wiki" icon="book" href="/features/wiki">
    Store factual knowledge alongside your memories.
  </Card>

  <Card title="Membase MCP" icon="link" href="/features/membase-mcp">
    See every MCP tool your agent can call.
  </Card>
</CardGroup>
