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

# Installation

> Install the Stoffel CLI and create a Python-oriented project scaffold.

<Note>
  **Python integration starts with the CLI template.**

  Install the `stoffel` CLI, then use its Python template to scaffold your project. Use the Rust SDK when your app needs execution APIs.
</Note>

## Prerequisites

Install the CLI first:

```bash theme={null}
curl -fsSL https://get.stoffelmpc.com | sh
export PATH="$HOME/.local/bin:$PATH"
stoffel --help
```

Verify the Python template is available:

```bash theme={null}
stoffel init --help
```

The help output should list `python (py)` among the supported templates.

## Create a Python scaffold

```bash theme={null}
stoffel init my-python-project --template python
cd my-python-project
```

Inspect the generated README and manifests:

```bash theme={null}
ls
cat README.md
find stoffel -maxdepth 3 -type f
```

Run the nested Stoffel program with the CLI:

```bash theme={null}
stoffel check stoffel
stoffel run stoffel --input a=40 --input b=2
```

If your generated program expects different inputs, follow that template's `README.md` or `stoffel/src/program.stfl`.

## Python package status

Stoffel 0.1.0 provides a CLI Python template rather than a Python SDK package. Use the CLI for scaffolding and the Rust SDK when your app needs execution APIs.

## Next steps

* [Python SDK Overview](./overview)
* [Rust SDK Overview](../rust-sdk/overview)
* [Quick Start](../getting-started/quick-start)
