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

# Local Preview

> Set up and run a scoped local docs preview using the lpd CLI.

## Local docs preview — scoped mode

This repo has 770+ pages. Scoped mode filters down to just the tab you are working on so the dev server starts fast.

### Setup (one time)

```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
git clone https://github.com/livepeer/docs.git
cd docs
git checkout docs-v2-dev
bash lpd setup --yes
```

### Check your environment

```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
lpd doctor
```

### See available tabs

```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
lpd dev --scoped --scope-list
```

### Start a scoped preview

```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
lpd dev --scoped --scope-tab Orchestrators
```

Tab names are fuzzy — `Orch` works. Multiple tabs: `--scope-tab About --scope-tab Solutions`. Custom port: add `-- --port 3333` at the end.

### Not sure what to pick?

```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
lpd dev --scoped --scope-interactive
```

Setup once, scope to your tab, preview locally in under a minute.

<Note>
  For the full CLI reference, see [LPD CLI](/docs-guide/tooling/lpd-cli).
</Note>
