# Getting started

```bash
bunx @fellowframework/cli new records                    # web template (default)
cd records && bun install && cp .env.example .env
fellow migrate && fellow dev
```

## Templates

| Template | For | Contents |
|---|---|---|
| `web` | Vue applications | `app.ts`, `index.html` shell, a `home` module with a page, `AGENTS.md`, tests |
| `saas` | Multi-tenant products | `web` plus the `accounts` module (users, memberships, sign-in/out, login page) and `moduleActivation: true` |
| `module` | Module authors | `web` plus `modules/<id>` with a README, and `fellow.json` pointing at a local registry (`./registry`) |

```bash
fellow new municipal --template saas
fellow new billing --template module --module billing
```

Every template passes `fellow check` as generated and ships with `src/fellow.gen.ts`. Next steps:

1. `fellow skills:install` so coding agents learn the conventions (see [`fellow docs agents`](/docs/agents)).
2. `fellow make:resource <module>.<entity> --fields ...` for the first feature, then `fellow check --tests`.
3. `fellow tenant:create <slug> --name ...` and `fellow token --tenant <uuid> --permission <p>` to call the API.

Read next: [`fellow docs modules`](/docs/modules), [`fellow docs routes`](/docs/routes), [`fellow docs pages`](/docs/pages), [`fellow docs vue`](/docs/vue), [`fellow docs tenancy`](/docs/tenancy), and
[`fellow docs publishing`](/docs/publishing) for module authors. [`fellow docs deployment`](/docs/deployment) covers production.
