> ## Documentation Index
> Fetch the complete documentation index at: https://saydo-5cd0e3d7.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the LLM Wiki Compiler plugin into Claude Code.

## Prerequisites

You need [Claude Code](https://claude.ai/code) installed before proceeding. The plugin runs inside Claude Code and adds the `/wiki-*` commands to your sessions.

## Install methods

<Tabs>
  <Tab title="From GitHub (recommended)">
    Install once and the plugin is available across all your Claude Code sessions.

    <Steps>
      <Step title="Clone the repository">
        ```bash theme={null}
        git clone https://github.com/ussumant/llm-wiki-compiler.git
        ```
      </Step>

      <Step title="Add as a local marketplace">
        ```bash theme={null}
        claude plugin marketplace add /path/to/llm-wiki-compiler
        ```

        Replace `/path/to/llm-wiki-compiler` with the actual path where you cloned the repo.
      </Step>

      <Step title="Install the plugin">
        ```bash theme={null}
        claude plugin install llm-wiki-compiler
        ```
      </Step>

      <Step title="Restart Claude Code">
        Restart Claude Code for the plugin hooks to register. The `/wiki-*` commands and the session startup hook will not be active until you do this.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Single session (no install)">
    Use this if you want to try the plugin without a permanent install. The plugin is active only for the duration of that Claude Code session.

    ```bash theme={null}
    claude --plugin-dir /path/to/llm-wiki-compiler/plugin
    ```

    <Note>
      The session-start hook that surfaces wiki context automatically does not activate with `--plugin-dir`. Use the GitHub install method for full functionality.
    </Note>
  </Tab>
</Tabs>

## Verify the install

After restarting Claude Code, open any project and type `/wiki` — you should see the available commands: `/wiki-init`, `/wiki-compile`, `/wiki-ingest`, `/wiki-search`, `/wiki-query`, `/wiki-lint`, and `/wiki-upgrade`.

## Updating

From inside Claude Code, run:

```
/wiki-upgrade
```

This pulls the latest version from GitHub and shows you what changed. Restart Claude Code after updating to load new commands and hooks.

<Tip>
  If `/wiki-upgrade` is not available (you installed an older version), update manually:

  ```bash theme={null}
  cd /path/to/llm-wiki-compiler && git pull
  claude plugin update llm-wiki-compiler
  ```

  Then restart Claude Code.
</Tip>
