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

# Installation

> Install Chowder, optional GPU dependencies, or build it from source.

## Requirements

Chowder supports macOS on Apple Silicon (ARM64) and Linux on x86-64. You need Python 3.12 or newer. Windows is not currently supported.

Chowder runs AI processing locally on CPUs, Apple Silicon GPUs on macOS, or NVIDIA GPUs on Linux. Available acceleration depends on the operation and runtime. See [Configuration](https://docs.chowder.ai/reference/configuration.md#typed-local-runtime) for more details.

## Install Chowder

Create a virtual environment with [uv](https://docs.astral.sh/uv/getting-started/installation/), activate it, and install Chowder.

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
uv venv --python 3.12
source .venv/bin/activate
uv pip install chowder
```

If you already have an active Python environment, you can also install with pip:

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
pip install chowder
```

Continue with the [Quickstart](https://docs.chowder.ai/quickstart.md) to run a Chowder SQL query.

## Install the CLI

Install the `chowder` command with [uv](https://docs.astral.sh/uv/getting-started/installation/):

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
uv tool install chowder
```

This adds `chowder` to your `PATH`, so it works in any terminal. If your shell can't find it, run `uv tool update-shell`. Check the installation:

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
chowder --help
```

The CLI also starts the local MCP server with `chowder mcp`.

If you installed Chowder in a virtual environment, `chowder` is also available while that environment is active. `uv tool install` provides the command only. To use `import chowder` in Python, install the package in your project environment as shown above.

See [CLI](https://docs.chowder.ai/guides/cli.md) and [Local MCP server](https://docs.chowder.ai/guides/mcp.md) for more details.

## Optional GPU dependencies

Install the optional CUDA and cuDNN runtime libraries for ONNX inference on Linux x86-64:

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
uv pip install "chowder[cuda]"
```

For the CLI, install the same extra with uv tool:

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
uv tool install "chowder[cuda]"
```

## Build from source

Install [uv](https://docs.astral.sh/uv/), Rust via rustup, and a C/C++ toolchain with libclang, make, CMake, pkg-config, curl, and NASM. Linux also needs the zlib and bzip2 development headers. See [`CONTRIBUTING.md`](https://github.com/chowderai/chowder/blob/main/CONTRIBUTING.md) for more details.

Clone the repository:

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
git clone https://github.com/chowderai/chowder
cd chowder
```

Build the pinned native reader libraries and load their build environment before installing the Python package. Keep the generated reader prefix while using the editable build:

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
reader_work="$(mktemp -d)"
uv run --no-project --python 3.12 --with meson==1.9.1 --with ninja==1.13.0 \
  python scripts/build_reader_runtime.py --download --work-parent "$reader_work" \
  --jobs 4 --env-file "$reader_work/build.env"
while IFS= read -r assignment; do
  export "$assignment"
done < "$reader_work/build.env"
uv sync --locked --extra dev
uvx maturin==1.15.0 develop
```

The source environment also provides the CLI, including `chowder mcp`. Use `uv run chowder --help` to check the commands. When configuring an MCP client, use the absolute path to this environment's `bin/chowder` executable.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.