# nylorun (/docs/reference/cli/nylorun)



```text
npx nylorun <up|down|start|stop|status|logs|studio|reset|doctor> [flags]
```

`nylorun` manages only the local Docker stack. `nylorun stack <command>` remains
a hidden alias.

## `up` / `start` [#up--start]

```text
nylorun up [--no-studio]
```

Creates the stack configuration on first run, then starts the stack, or leaves
it running. Prints the Runtime URL and a Studio login URL.

| Flag          | Description          |
| ------------- | -------------------- |
| `--no-studio` | Do not start Studio. |

## `down` / `stop` [#down--stop]

```text
nylorun down
```

Stops the containers and keeps all volumes and Tenants.

## `status` [#status]

```text
nylorun status [--json]
```

Shows service, port, and readiness state.

| Flag     | Description              |
| -------- | ------------------------ |
| `--json` | Machine-readable output. |

## `logs` [#logs]

```text
nylorun logs [service] [-f] [--tail <n>]
```

Reads stack logs, or one service's logs (`runtime`, `studio`, `postgres`,
`restate`, `s2`).

| Flag         | Description                 |
| ------------ | --------------------------- |
| `-f`         | Follow new output.          |
| `--tail <n>` | Show only the last n lines. |

```sh
npx nylorun logs runtime -f
```

## `studio` [#studio]

```text
nylorun studio [--no-open]
```

Mints a single-use Studio login, valid for two minutes, and opens it.

| Flag        | Description                       |
| ----------- | --------------------------------- |
| `--no-open` | Print the URL without opening it. |

## `reset` [#reset]

```text
nylorun reset [--yes]
```

Deletes every stack volume and every Tenant. This cannot be undone.

| Flag    | Description            |
| ------- | ---------------------- |
| `--yes` | Skip the confirmation. |

## `doctor` [#doctor]

```text
nylorun doctor [--json]
```

Checks Node, Docker, Compose v2, and stack health.

## Exit codes [#exit-codes]

| Exit      | Meaning                           |
| --------- | --------------------------------- |
| 0         | Success.                          |
| 1         | General failure.                  |
| 2         | Usage error or removed command.   |
| 3         | Docker is missing or unavailable. |
| 4         | Compose v2 is missing.            |
| 7         | Stack did not become ready.       |
| 130 / 143 | Interrupted by SIGINT / SIGTERM.  |
