# Commands

> 

Vuloom ships a small CLI with four core commands.

## `vuloom dev`

Start the development server.

```bash
vuloom dev
vuloom dev . --port 3000 --host 0.0.0.0
```

## `vuloom prepare`

Generate `.vuloom/types/`.

```bash
vuloom prepare
```

Use this whenever route files or middleware names change.

## `vuloom build`

Build the production client and server output.

```bash
vuloom build
vuloom build . --mode production
vuloom build . --watch
```

## `vuloom start`

Serve the result of `vuloom build`.

```bash
vuloom start
vuloom start . --port 3000 --host 0.0.0.0
```

## Shared flags

- root path as the first positional argument
- `--config`
- `--mode`

`dev` and `start` also support `--host` and `--port`.
