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

# Quickstart

> Create, run, and build your first NanoForge project

This quickstart takes you from an empty folder to a running game in a few minutes.

**1. Create a project**

Run the interactive scaffolder and answer the prompts (project name, language, package manager,
whether to include a server, and so on):

```bash theme={null}
nf new
```

Prefer a non-interactive run? Pass the answers as flags:

```bash theme={null}
nf new --name my-game --language ts --package-manager pnpm --server
```

**2. Move into the project**

```bash theme={null}
cd my-game
```

The scaffolder generates a `nanoforge.config.json` at the root. See
[Configuration](https://docs.nanoforge.eu/docs/cli/configuration/configuration-file.md) for what every field means.

**3. Run in development mode**

Start the game locally with file watching:

```bash theme={null}
nf dev
```

**4. Build for production**

```bash theme={null}
nf build
```

Then start the built game:

```bash theme={null}
nf start
```

## Where to go next

* Learn each command in detail in the [Commands reference](https://docs.nanoforge.eu/docs/cli/commands/overview.md).
* Follow task-oriented [Guides](https://docs.nanoforge.eu/guides/cli/overview.md) for common workflows.


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