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

# Quickstart

> Hatchmark turns short YAML files into checked dashboard pages, and every command runs without prompts so an agent can follow along.

## Install

Hatchmark is not on npm yet. Build it from the repository (Node.js 22.18+ or 23.6+, pnpm):

```sh theme={null}
git clone https://github.com/hatchmark-dev/hatchmark.git
cd hatchmark
pnpm install
pnpm build
alias hatchmark="node '$PWD/packages/hatchmark/dist/cli/bin.js'"
```

## Create a project

```sh theme={null}
hatchmark init shop && cd shop
```

This writes a sample project: US orders data, four metrics and a `sales` dashboard. For an empty
project, see [Project file](/docs/reference/project.md#starting-from-init-template-minimal).

## Check it

```sh theme={null}
hatchmark check
```

Each problem comes with a code and a fix ([Diagnostics](/docs/reference/diagnostics.md)).

## Build it

```sh theme={null}
hatchmark build
```

Open `dist/sales/index.html`, or put `dist/` on any static host ([Build](/docs/guides/build.md)).

## Preview while you edit

```sh theme={null}
hatchmark dev --open
```

## Next

* [Metrics](/docs/reference/metrics.md): define your own numbers.
* [Dashboards](/docs/reference/dashboards.md) and [components](/docs/components/kpi.md): lay out pages.


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