# Getting started

> Read your first site from the command line or the browser in about a minute.

Page: https://designlang.app/docs/getting-started

designlang reads a live website with a headless browser and writes out its design system: colours, type, spacing, shadows, motion and components, as W3C DTCG tokens, a Tailwind config, CSS variables, a DESIGN.md and more. There are two ways to run it.

## Option 1: the CLI (free)

```
npx designlang stripe.com
```

Everything lands in `./design-extract-output`. The first run downloads a Chromium build; if you would rather reuse the Chrome you have, add `--system-chrome`. Run `npx designlang install-browser` to fetch the bundled one ahead of time.

### Useful first flags

- `--dark` also reads the dark mode.
- `--platforms all` adds iOS, Android, Flutter and WordPress output.
- `--pdf` renders a brand-book PDF.
- `--json` prints the raw result for scripts and CI.

The full list is in the [CLI reference](https://designlang.app/docs/cli-reference).

## What next

- Give your AI editor the real brand rules: [MCP setup](https://designlang.app/docs/mcp).
- Catch drift on pull requests: [GitHub Action](https://designlang.app/docs/github-action).
