Skip to content

Install

uv tool install xl-marinade

New to uv?

uv is a fast Python package and project manager. Install it once and the command above will work:

# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Prefer a Python you already have? pipx install uv (or pip install uv) works too. Full options are in the uv installation guide.

pip install xl-marinade

Requires Python 3.11+. uv tool install puts the marinade CLI on your PATH — run marinade --help from anywhere. To use XL Marinade as a library in your own project instead, uv add xl-marinade and run it with uv run marinade.

Optional extras

XL Marinade's core (extract, diff, deterministic document) has no optional dependencies. Two add-ons are opt-in:

# Optional LLM-enriched documentation (bring your own API key)
uv tool install 'xl-marinade[llm]'

# Optional deterministic VBA macro parsing
uv tool install 'xl-marinade[vba]'

# Both
uv tool install 'xl-marinade[llm,vba]'
# Optional LLM-enriched documentation (bring your own API key)
pip install 'xl-marinade[llm]'

# Optional deterministic VBA macro parsing
pip install 'xl-marinade[vba]'

# Both
pip install 'xl-marinade[llm,vba]'
  • [llm] — adds the bring-your-own-key LLM documentation tier (--enrich, xl_marinade.llm). See LLM add-on for setup and configuration.
  • [vba] — adds deterministic parsing of VBA macros, so macro-driven mutations show up as edges in the formula graph (see What it does).

Neither extra changes the deterministic behavior of extract, diff, or plain document — they only add capability on top.

For best results, drive XL Marinade with an AI coding tool

XL Marinade is built to be operated by an AI agent: extract a workbook, query the agent_* SQLite views, diff two versions, and generate documentation. The plugin equips your editor with the exact CLI commands, the SQLite query contract, and the Excel gotchas — so an agent drives the tool correctly instead of guessing at the schema.

In Claude Code, register the marketplace and install the plugin and its skill:

/plugin marketplace add gaspatchio/xl-marinade
/plugin install xl-marinade@xl-marinade

Using VS Code, Cursor, or another agent? The two-minute setup for each is on the Plugins page.

From source with uv

git clone https://github.com/gaspatchio/xl-marinade
cd xl-marinade
uv sync
uv run marinade --help

Next

Continue to the Quickstart.