# CLI

Once installed, Trillo provides the `trillo` command:

```sh
npm install -g trillo
mkdir myapp
echo "<html><body>it's [[new Date()]]</body></html>" > myapp/index.html
trillo serve myapp
# ... http://localhost:3000
```

The `serve` option launches a [development server](https://trillojs.dev/docs/reference/server#development-mode) serving pages from the given directory, as an easy way to develop Trillo pages, and includes the ability to auto reload the browser on changes.

> The `trillo` command is only intended as a development tool.


---

# 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://trillojs.gitbook.io/en/reference/cli.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.
