> ## 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.

# Studio CLI

> Scaffold a new Livepeer app with the Livepeer Studio CLI.

The Livepeer Studio CLI generates a new Livepeer app so you can go from zero to a running app in a few steps.

## Prerequisites

Create a Livepeer Studio API key at [Livepeer.studio/dashboard/developers/api-keys](https://livepeer.studio/dashboard/developers/api-keys).

## Generate a new app

From your terminal:

```bash icon="terminal" theme={"theme":{"light":"github-light","dark":"dark-plus"}}
npx @livepeer/create
```

When prompted:

1. Enter your **API key**.
2. Enter a **Stream ID** (or create a stream in the [dashboard](https://livepeer.studio/dashboard) and use its ID).

## Run the app

After the project is created:

```bash icon="terminal" theme={"theme":{"light":"github-light","dark":"dark-plus"}}
cd <project-directory>
npm run dev
```

The CLI sets up a project that uses your API key and stream for broadcasting or playback. Customise it from there using the [Livestream](/solutions/livepeer-studio/docs/livestream/overview) and [VOD](/solutions/livepeer-studio/docs/video-on-demand/overview) guides and the [SDKs overview](/solutions/livepeer-studio/docs/reference/sdks).
