CLI

Backlight comes with a CLI for local development.

Usage

npx backlight@latest

We recommend the use of npx and @latest in order to always run the latest version of the CLI. With this command you never need to upgrade Backlight's CLI.

Use npx backlight@latest --help to have the latest options details.

Commands

serve

Renders a design system from your local file system.

Link a Backlight branch into an existing app.