# Dev Mode

The dev chain should be specified to run the node in dev mode:

```
humanode-peer --dev
```

In development mode, the chain doesn't require any peer computers to produce and finalize blocks. If you see messages that blocks are being proposed and finalized, you have a running node.

```
... Idle (0 peers), best: #3 (0xcc78…5cb1), finalized #1 ...
... Starting consensus session on top of parent ...
... Prepared block for proposing at 4 (0 ms) ...
```

Additionally, `--tmp` flag can be passed to indicate that the node should be run as a temporary node. A temporary directory will be created to store the configuration and will be deleted at the end of the process.

```
humanode-peer --dev --tmp
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.humanode.io/docs/node/cli/dev-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
