# preview

URL: /bengal/cli/theme/preview/
Section: theme
Description: Start theme development preview server

---

> For a complete page index, fetch /bengal/llms.txt.

Open LLM text
(/bengal/cli/theme/preview/index.txt)

Share with AI

Ask Claude
(https://claude.ai/new?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Ftheme%2Fpreview%2Findex.txt)

Ask ChatGPT
(https://chatgpt.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Ftheme%2Fpreview%2Findex.txt)

Ask Gemini
(https://gemini.google.com/app?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Ftheme%2Fpreview%2Findex.txt)

Ask Copilot
(https://copilot.microsoft.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Ftheme%2Fpreview%2Findex.txt)

Command

#
`bengal theme preview`

Start theme development preview server

4Options

## Usage

BASH

```
bengal theme preview [OPTIONS]
```

## Options

Option
Type
Description

`--host`

`STRING`

Server host address

Default:`localhost`

`--open-browser`

flag

`BOOLEAN`

Open browser after server starts

`--port`

`INTEGER`

Server port number

Default:`5173`

`--source`

`STRING`

Source directory path
