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

# Installation

> Install Seedling via Go, Docker, or build from source.

# Installation

## Go Install (Recommended)

```bash theme={null}
go install github.com/tomiwa-a/seedling/cmd/seedling@latest
```

This installs the `seedling` binary to `$GOPATH/bin`.

## Docker

Build from source:

```bash theme={null}
git clone https://github.com/tomiwa-a/seedling.git
cd seedling
docker build -t seedling .
```

### Usage Examples

Generate from local schema files:

```bash theme={null}
docker run --rm -v $(pwd):/data seedling generate \
  --schema /data/schema.yaml --output /data/seed.sql
```

Introspect a database:

```bash theme={null}
docker run --rm seedling introspect \
  --db postgres://user:pass@host:5432/mydb
```

Use with a config file:

```bash theme={null}
docker run --rm -v $(pwd):/data seedling generate --config /data/seedling.yaml
```

## Build from Source

```bash theme={null}
git clone https://github.com/tomiwa-a/seedling.git
cd seedling
go build -o seedling ./cmd/seedling
```

## Verify Installation

```bash theme={null}
seedling --help
```

You should see the CLI help output with the available commands: `introspect`, `generate`, `watch`, `validate`.
