# `cli`

Command-line utility for initializing a new blitz app, code generation, database management, and other functions. It is meant to be user-friendly and easy to extend.

## Installation

```bash
npm i -g blitz
```

## Usage

These are some examples of common commands from the blitz API. A full list is available at <https://blitzjs.com/docs/cli-overview>.

### Create a new Blitz project called "my-blog"

```bash
blitz new my-blog
```

### Generate all available code scaffolding for a resource named Project

```bash
blitz generate all project
```

### Create a production build

```bash
blitz build
```

### Launch the development server

```bash
blitz dev
```
